Open
Bug 1603199
Opened 4 years ago
Updated 9 months ago
Make nsIURI.host return a bracket enclosed IPv6 address
Categories
(Core :: Networking, task, P3)
Core
Networking
Tracking
()
NEW
People
(Reporter: valentin, Unassigned)
Details
(Whiteboard: [necko-triaged])
Historically if the host of a URL is an IPv6 address, nsIURI.host
has returned only the IPv6 address literal ::1
instead of [::1]
. This is presumably because consumers will pass the output of nsIURI.host
to a platform API (NSPR sockets?) which don't necessarily handle the brackets. However, this leads to odd little hacks like this and this
Want to change this behaviour - this implies auditing every use of nsIURI.host
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•