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

NEW
Unassigned

Status

()

Core
Networking
12 years ago
a year ago

People

(Reporter: benc, Unassigned)

Tracking

Trunk
PowerPC
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-would-take])

(Reporter)

Description

12 years ago
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.

Updated

11 years ago
Assignee: darin → nobody
QA Contact: benc → networking
Whiteboard: [necko-would-take]
You need to log in before you can comment on or make changes to this bug.