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

搜索 | 用户支持

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

详细了解

localhost URL automatically becomes www.localhost.com invalid URL "smart yet dumb"

  • 2 个回答
  • 2 人有此问题
  • 13 次查看
  • 最后回复者为 cor-el

more options

I have MAMP installed on my Mac. I have used Firefox with it happily for years. With latest update, my required URL gets converted from http://localhost:8888/MAMP/?language=English to invalid URL http://www.localhost.com:8888/MAMP/?language=English (http:// not displayed of course). If I edit it in the address bar, it still gets converted to the invalid 'correction' and I can't reach the website on my own machine! I see there is a way to remove unwanted suggestions and presumably I can do this to prevent the substitution - but it shouldn't be necessary! Andy Macdonald

I have MAMP installed on my Mac. I have used Firefox with it happily for years. With latest update, my required URL gets converted from http://localhost:8888/MAMP/?language=English to invalid URL http://www.localhost.com:8888/MAMP/?language=English (http:// not displayed of course). If I edit it in the address bar, it still gets converted to the invalid 'correction' and I can't reach the website on my own machine! I see there is a way to remove unwanted suggestions and presumably I can do this to prevent the substitution - but it shouldn't be necessary! Andy Macdonald

所有回复 (2)

more options

Start Firefox in Safe Mode {web link} While you are in safe mode;

Type about:preferences in the address bar and press Enter.

Select Advanced > General. Look for and turn off Use Hardware Acceleration. Then check ALL of your settings; Browser and add-ons.

Poke around safe web sites. Are there any problems?. Then restart.

more options

Does "Forget About This Site" in the right-click context menu for such a www.localhost.com help?

Such issues can be caused by using a proxy to connect. You can also try to disable the fixup.

  • browser.fixup.alternate.enabled = false

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.