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

UNCONFIRMED
Unassigned

Status

()

Firefox
Address Bar
UNCONFIRMED
2 years ago
7 months ago

People

(Reporter: Coenraad, Unassigned)

Tracking

42 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
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.
(Reporter)

Updated

2 years ago
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
(Reporter)

Updated

2 years ago
Component: Untriaged → Location Bar
(Reporter)

Updated

2 years ago
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
(Reporter)

Updated

2 years ago
Summary: 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 → 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
(Reporter)

Comment 1

2 years ago
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.
You need to log in before you can comment on or make changes to this bug.