为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Awesome Bar: auto-complete suggestion does not remember port number from URL

more options

I visit URLs with non-standard ports all the time such as http://localhost:8080.

When I start typing "localhost" into the address bar, the Awesome Bar suggests only "http://localhost" - i.e. WITHOUT the port 8080 - instead of suggesting the full URL including the port.

I never visit "localhost" without port 8080 so that entry should not even be in my history at all.

The Awesome Bar should always remember port numbers when making suggestions.

I visit URLs with non-standard ports all the time such as http://localhost:8080. When I start typing "localhost" into the address bar, the Awesome Bar suggests only "http://localhost" - i.e. WITHOUT the port 8080 - instead of suggesting the full URL including the port. I never visit "localhost" without port 8080 so that entry should not even be in my history at all. The Awesome Bar should always remember port numbers when making suggestions.

所有回复 (2)

more options

hello, as a workaround you could try to bookmark those addresses & see if they will be included in the auto-complete suggestions this way.

more options

Unfortunately that doesn't work. Even with the URL bookmarked, typing "local" to begin the autocomplete still results in the URL being auto-completed without a port number.

Typing the name of the bookmark itself results in no auto-complete at all, meaning you still have to press the down arrow before hitting "return" to get to the correct URL. So you're back at square one.

I filed a bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=853898

Which turned out to be a duplicate of: https://bugzilla.mozilla.org/show_bug.cgi?id=764062