IPv6 addresses in URLs have [] disappear in non-editing location bar state

VERIFIED FIXED in Firefox 3 alpha8

Status

()

Firefox
Address Bar
VERIFIED FIXED
11 years ago
11 years ago

People

(Reporter: dbaron, Assigned: dao)

Tracking

({regression})

Trunk
Firefox 3 alpha8
regression
Points:
---
Bug Flags:
blocking-firefox3 +
in-litmus +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
In the non-editing state of the location bar, the "[" and "]" that go around an IPv6 address in a URL disappear.

Steps to reproduce:
 1. go to http://[2001:200:0:8002:203:47ff:fea5:3085]/ (that's the current IPv6 address of http://www.kame.net/)
 2. look at the location bar

Expected results:
 Location bar shows http://[2001:200:0:8002:203:47ff:fea5:3085]/ (whether editing it or not)

Actual results:
 Location bar shows http://[2001:200:0:8002:203:47ff:fea5:3085]/ (unless you edit it)

Tested in a Firefox trunk debug build on Linux pulled at  2007-07-31T14:00-07:00
Flags: blocking-firefox3?
(Assignee)

Updated

11 years ago
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: PC → All
(Assignee)

Comment 1

11 years ago
Created attachment 275305 [details] [diff] [review]
patch
Assignee: nobody → dao
Attachment #275305 - Flags: review?(gavin.sharp)
Flags: blocking-firefox3? → blocking-firefox3+
Flags: in-litmus?

Updated

11 years ago
Target Milestone: --- → Firefox 3 M9
Attachment #275305 - Flags: review?(gavin.sharp) → review+
Keywords: checkin-needed
Target Milestone: Firefox 3 M9 → Firefox 3 M8
Checking in urlbarBindings.xml;
/cvsroot/mozilla/browser/base/content/urlbarBindings.xml,v  <--  urlbarBindings.xml
new revision: 1.17; previous revision: 1.16
done
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
I've added https://litmus.mozilla.org/show_test.cgi?id=5019 to verify the address's integrity.

While I'm here, verifying that we don't truncate the URL in any way, using today's trunk builds.
Status: RESOLVED → VERIFIED
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.