Closed Bug 1381144 Opened 8 years ago Closed 8 years ago

Proxy bypassed for 127.0.0.1 and [::1] adresses when "No Proxy for" field is not empty

Categories

(Core :: Networking: HTTP, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: exa, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.9) Gecko/20100101 Goanna/3.2 Firefox/45.9 PaleMoon/27.4.0 Build ID: 20170714081555 Steps to reproduce: Set the "No Proxy for" field to anything, not empty (not spaces), that should not affect 127.0.0.1 or [::1], such as "foo" or "example.org, example.com". Tested in release (54) and nightly (56, revision 67cd1ee26f26). Actual results: For both 127.0.0.1 and [::1] addresses (all ports), but not localhost, Firefox bypasses the proxy like if these addresses would be added in the "No Proxy for" field. It's not the case if that field is empty. All proxy types seem to be affected (you can check without proxy and http server, you'll get "The proxy server is refusing connections" or "Unable to connect"). Expected results: Both 127.0.0.1 and [::1] addresses should not be implied in the "No Proxy for" field when it is not empty.
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Hi Elouan, Would you make http log and attach this file on this bug. https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging Thanks!
Flags: needinfo?(exa)
I'd like to put this on Gary's radar.
Flags: needinfo?(xeonchen)
I'd say this is a feature rather than a bug.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(xeonchen)
Flags: needinfo?(exa)
Resolution: --- → INVALID
How is this a feature? I didn't enter 127.0.0.1 and ::1 in the field. Neither localhost.
(In reply to Elouan Martinet from comment #4) > How is this a feature? I didn't enter 127.0.0.1 and ::1 in the field. > Neither localhost. We had a discussion in [1] and we actually don't proxy for localhost/127.0.0.1. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1028195#c14
See Also: → 1028195
You need to log in before you can comment on or make changes to this bug.