Closed Bug 1558535 Opened 6 years ago Closed 6 years ago

network.proxy.no_proxies_on forcibly includes localhost and 127.0.0.1 even when it's empty

Categories

(Core :: Networking, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1535581

People

(Reporter: patheticcockroach, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Configure Firefox to use a SOCKS5 proxy server (in my case, it's an SSH tunnel running on 127.0.0.1:9940).
Check in about:config that the value for no_proxies_on is empty: ""
Have a web server running on the proxy (in my case, on port 8888)
Open a tab on 127.0.0.1:8888 or localhost:8888

Actual results:

The tab on 127.0.0.1:8888 (or localhost:8888) tries to connect locally (to whatever would be running on port 8888 on my PC)

Expected results:

The tab should connect to the web server which is running on my proxy.

NB: it is a fairly recent problem. I don't use this very regularly, but I believe it used to work maybe a couple of major versions ago. Notably, it still works properly in Firefox 60.7.0esr (Tor Browser, more precisely).

NB: The user agent reported above is inaccurate as I use an UA spoofer. I'm indeed on Fx 67.0.1

Summary: network.proxy.no_proxies_on doesn't work for localhost and 127.0.0.1 → network.proxy.no_proxies_on forcibly includes localhost and 127.0.0.1 even when it's empty
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Component: Untriaged → Networking
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.