Closed Bug 493483 Opened 15 years ago Closed 15 years ago

"No proxy for" setting doesn't support IPv6 address literals

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2b1

People

(Reporter: emk, Assigned: emk)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Subject says all.
Attachment #377970 - Flags: superreview?(cbiesinger)
Attachment #377970 - Flags: review?(cbiesinger)
Attachment #377970 - Flags: review?(cbiesinger) → review?(jduell.mcbugs)
Attachment #377970 - Flags: review?(jduell.mcbugs) → review+
Comment on attachment 377970 [details] [diff] [review]
patch

This looks correct to me (previously, the presence of ':' in IPv6 URIs would incorrectly set PortLocation).  

I'm assuming PR_StringToNetAddr takes IPv6 literals (escaped with '[' and ']'): it looks like it from a glance at the code.

Do we need a test here?


Do we need
Comment on attachment 377970 [details] [diff] [review]
patch

Trying different reviewer.

I'm not sure this even needs superreview, but I'm not as familiar as I'd like with IPv6, so it could use another pair of eyes on it.   It's a pretty minor patch.
Attachment #377970 - Flags: superreview?(cbiesinger) → superreview?(bzbarsky)
Attachment #377970 - Flags: superreview?(bzbarsky) → superreview+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/f75ad70bc40f
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: