Closed
Bug 350556
Opened 18 years ago
Closed 18 years ago
percent-encoded host part of URL is handled contrary to RFC 3986
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 309671
People
(Reporter: dlitz, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) XpcomViewer/0.9 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) XpcomViewer/0.9 According to RFC 3986, the host part of an URL is allowed to be percent-encoded, but Firefox/Mozilla don't do the percent-decoding like they should. Thus, URLs like http://w%77w%7emozilla%7eorg/ don't work. Konqueror 3.5.3 and MSIE 6.0 both do the right thing. Reproducible: Always Steps to Reproduce: 1. Type in http://w%77w.mozilla.org/ or http://www%2emozilla%2eorg/ into the address bar, or click a link that refers to one of those URLs, or put one of those URLs into the url() section of a CSS style sheet. Actual Results: "Firefox can't find the server at w%77w.mozilla.org" Expected Results: The browser should navigate to http://www.mozilla.org/ This problem occurs on the following builds: - Debian GNU/Linux's i386 firefox (1.5.dfsg+1.5.0.4-1) package: "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060406 Firefox/1.5.0.4 (Debian-1.5.dfsg+1.5.0.4-1) XpcomViewer/0.9" - Firefox 1.5.0.6 (Win32) "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6" - Nightly Mozilla build (Win32): "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050702" - Nightly Firefox build (Win32): "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060828 Minefield/3.0a1" ---- This is an edge case. I found this bug trying to develop a standards-compliant workaround for MSIE's improper handling of backslash-escaping within CSS url(...) values. Still, Konqueror and MSIE (!) handle this correctly, and it would be great if Firefox and Mozilla did also. This might not be a bug in the address bar so much as it's a bug in Gecko, but Bugzilla doesn't seem to have a "Gecko" option (at least, not one that's easy to find).
Updated•18 years ago
|
Whiteboard: DUPEME?
Reporter | ||
Comment 1•18 years ago
|
||
This is a dupe of bug #309671. I didn't find it originally because I searched for the wrong terms. Sorry. *** This bug has been marked as a duplicate of 309671 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME?
You need to log in
before you can comment on or make changes to this bug.
Description
•