URL gets automatically extended and page fails to load
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: matesh, Unassigned)
Details
(Whiteboard: QA-not-reproducible)
Attachments
(1 file)
|
2.23 MB,
video/quicktime
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
I often need to access network equipment web interfaces through ssh tunnels, that route port 80 of the devices to a local port on my machine, in this case localhost:5501. I tend to use the same tunnel/port with various devices and very often what happens is that a previous device's URL bits get added to the URL of the new device.
Actual results:
I type "localhost:5501" ino the address bar, upon hitting enter, the URL is extended to "localhost:5501/v3/" which was valid for a previous device, but not the currently connected one. The page fails to load with a "403 Forbidden" or "404 Unavailable" error (because the URL is not valid on the device)
Expected results:
When I type "localhost:5501" I expect the browser to open "localhost:5501", instead of appending a previously valid URL to it and then fail to load. This is not the case with Chrome, but since I'm a long time user of Firefox, I'd like it to work as expected. I tried deleting history for localhost visits, removed cookies, turned off the "keyword.enabled" and "browser.fixup.alternate.enabled" options, but they didn't help.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•3 years ago
|
||
Hello I have tried to reproduce the issue with macOS 10.15 and firefox 101.0a1 (2022-04-07) unfortunately I wasn't able to reproduce the issue.
Could you please answer the following questions in order to further.
- Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
- Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
- Do you have any addons installed if so can you list them?
Hello,
I did the following:
-
Created a new profile and launched a new browser with this profile
-
Connected a router's web interface to the local port 5501 (ssh -L 5501:localhost:9999 [server]) where the server stands for a jump host, port 80 of the device to be managed is redirected to port 9999 on this jump host.
-
Using the new browser instance, I navigated to localhost:5501
-
The interface loaded as expected, the home page URL on the address bar being http://localhost:5501/cgi-bin/luci/;stok=c89203086eb31e9e8507193bc06c15fe/admin/status/overview
-
I also navigated to this URL using another browser.
-
Disconnected the router from my local port and connected a different device (data logger) to the local port 5501 using the same method as in step 2
-
Using the same instance I navigated to localhost:5501. The URL in the address bar changed to http://localhost:5501/cgi-bin/luci and got a 404 - not found error from the device (as this url on this other device's interface is invalid).
-
I tried deleting the /cgi-bin/luci bit from the end of the URL but every time it got re-appended to the URL automatically, getting a 404 error.
-
Using the other browser, navigating to localhost:5501 resulted in the web interface to load correctly with the url http://localhost:5501/v3/
I tried firefox 100.0b2 and following the above steps I was able to reproduce the issue. It created a new beta profile automatically so I assume I was starting with a clean slate.
In the new profile and new instance of the browser where I managed to reproduce the issue for the first try in both cases, I had no addons installed so I don't think any of the addons are causing issues. I only use noscript (disabled most of the time, only using to bypass adblocker detecting javascript crap), adBlock plus, and firefox multi-account containers.
I hope this helps, let me know if you have any further questions or how I can further assist your work.
I just noticed that previously I tried with the Beta version (100.0b2), not the nightly as you suggested, so I just tested with 101.0a1 and the result was the same.
I'm currently on macOS 12.3 and the builds I tested are arm64. However, I had the same issue in the past on my previous intel mac on catalina.
Comment 5•3 years ago
|
||
Hello I have tried to reproduce the issue again with the suggestions from comment 3, unfortunately I'm still not able to reproduce the issue. I will mark this as QA-not-reproducible
Have a nice day!
Description
•