Closed Bug 435690 Opened 16 years ago Closed 12 years ago

Support IPv6 literal addresses in IRC URLs

Categories

(Other Applications :: ChatZilla, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: bugzilla-mozilla-20000923)

Details

(Whiteboard: [cz-0.9.89])

Attachments

(1 file)

We currently don't allow IPv6 address literals in IRC URLs, using the preferred format, e.g.:

  irc://[fe80::5d49:767b:4b68:1b17]/

This should be relatively easy, as Necko should be happy with the IPv6 addresses (I hope!) but I dunno if it will want them with or without the square brackets (which aren't part of the address, but used to stop it colliding with port numbers, ala HTTP).
Here we go, the only tricky bit was figuring out what wanted the square brackets and what didn't. That turned out to be nicely localised, so all the .host and .hostname properties of various objects keep the brackets rather than it being constantly added/removed.
Assignee: rginda → silver
Status: NEW → ASSIGNED
Attachment #646965 - Flags: review?(samuel)
Attachment #646965 - Flags: review?(samuel) → review+
http://hg.mozilla.org/chatzilla/rev/97c847928e25
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.89]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: