Closed Bug 670998 Opened 13 years ago Closed 10 years ago

URL auto-linker shouldn't terminate URLs at "]"

Categories

(Bugzilla :: User Interface, defect)

4.0.1
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 177820

People

(Reporter: justin.lebar+bug, Unassigned)

Details

See [1]. The URL is terminated at "]" but shouldn't end there. https://bugzilla.mozilla.org/show_bug.cgi?id=653961#c87
i'm not so sure; "]" should be encoded as it isn't valid outside of the authority part of a URI, which means the sample URL is invalid.
Indeed, RFC 3986 says: A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]"). This is the only place where square bracket characters are allowed in the URI syntax. But then shouldn't bugzilla end the URI when it sees "["?
Severity: normal → minor
Version: unspecified → 4.0.1
Filed bug 672139 on graphserver's emitting these malformed URIs.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.