Open Bug 314712 Opened 19 years ago Updated 2 months ago

No proxy for: "hostname.domain.com" should block only "hostname.domain.com"

Categories

(Core :: Networking: Proxy, defect, P5)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: benc, Unassigned)

Details

(Whiteboard: [necko-would-take])

This is an extension of fixing comparison code in bug 280280.

In that bug, domain suffixes (".domain.com") were fixed to they matched everything in the domain.

In this bug, I'd like to fix the opposite, where FQDN's ("hostname.domain.com") will only match the FQDN.

It will not match:

as a suffix ("myhostname.domain.com")
as a domain ("www.hostname.domain.com")

The solution is:

If the filter does not start w/ a dot, assume it is for "FQDN-only". If the filter==URL.hostname, then noproxy. Otherwise allow proxy.

This would have the side effect of forcing people who want to make domain references to use the leading dot.

However, it prevents lots of potential false positive comparisons, as well as adding support for explictily noproxy of a single host on the domain.
Assignee: darin → nobody
QA Contact: benc → networking
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3

Moving bug to Core/Networking: Proxy.

Component: Networking → Networking: Proxy
You need to log in before you can comment on or make changes to this bug.