Closed Bug 1228574 Opened 9 years ago Closed 6 years ago

Firefox refuses to load address / url entered into address bar / location bar, opting for the previous site or typo it mistakenly reached, and cached, ignoring the actual address in the bar when ENTER or CTRL + ENTER was pressed, if url contains a port no

Categories

(Firefox :: Address Bar, defect)

42 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: coenraad, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Build ID: 20151029151421

Steps to reproduce:

Set up two devices on your network on the same address (say 192.168.1.2), but set the one to serve it's web interface on port 8000 and the other on port 80. 

Disconnect the port 80 one. 

Now type in the address bar: http://192.168.1.2:80

Great, it loads. 

Now open a new tab, and close the previous tab. 

Unplug this router, and plug in the other one. 

Now try to enter the other router's address: http://192.168.1.1:8000

Firefox refuses to load it and tries to load http://192.168.1.1:80 instead. 

The only way around this is to completely clear Firefox's cache. 

This has been an ongoing issue since version 20 or so. I'm surprised that it still persists. It seems that Firefox doesn't consider the port number as part of the address, when considering whether to reload the site, or just draw from it's cache. 

I usually switch to IE or Chrome at this point, as I don't want to close my 100 tabs and clear my cache just so that I can access a router. 


Actual results:

Firefox loads a URL that is similar, but stuck in it's memory somewhere - and there is no way (Ctrl + Click, Ctrl + Enter) to force it to load the actual url as typed in the address bar, the way it is typed.

Eg. if you type http://192.168.1.2:8000 and press enter - it immediately changes to http://192.168.1.2.


Expected results:

If you type http://192.168.1.2:8000 and press ENTER, then Firefox should load that exact URL and port immediately - without consulting some sort of internal lookup table or cache and redirecting to whatever the last thing that was there redirected to. 

Alternately, it should at least load the URL typed in, when you press CTRL + ENTER.
Summary: Firefox refuses to load address entered into address bar, opting for the typo it mistakenly reached, and cached, typo instead → Firefox refuses to load address entered into address bar, opting for the typo it mistakenly reached, and cached
Component: Untriaged → Location Bar
Summary: Firefox refuses to load address entered into address bar, opting for the typo it mistakenly reached, and cached → Firefox refuses to load address / url entered into address bar / location bar, opting for the previous site or typo it mistakenly reached, and cached, ignoring the actual address in the bar when ENTER or CTRL + ENTER was pressed
Summary: , if url contains a port no
I've also seen it happen if there was an explicit redirect from a site that shared the same url, as in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1087380 - I don't think it's just autocorrect modifying the URL, but rather looking it up from a cache somewhere.
this should be WFM atm, but feel free to reopen if you can still reproduce.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.