Closed Bug 362237 Opened 18 years ago Closed 17 years ago

Firefox requests URLs/IRIs with diacritics/accents incorrectly when they are typed into the location bar (and differently to when following a hyperlink)

Categories

(Core :: Internationalization, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozilla, Assigned: smontagu)

References

()

Details

(Keywords: intl)

Steps to reproduce: 1. Go to http://www.last.fm/music/Bj%C3%B6rk 2. Point to Post (the first one under Top Albums) 3. Notice the link's URL (probably technically an IRI) in the status bar is http://www.last.fm/music/Björk/Post 4. Type or copy that URL into the location bar http://www.last.fm/music/Bj%F6rk/Post is requested, which does not exist. 5. Go back to http://www.last.fm/music/Bj%C3%B6rk and click the link http://www.last.fm/music/Bj%C3%B6rk/Post is requested, which loads OK. The URL should have been displayed as http://www.last.fm/music/Bj%C3%B6rk/Post in the status bar, so that manually typing it into the location bar (or using that address in a link on a forum, for example) would work. I'm not entirely sure that this isn't last.fm's fault. If it is their fault, this is invalid (or a Tech Evangelism bug). Bug 284474 may be vaguely related, but that's marked fixed.
(In reply to comment #0) > 3. Notice the link's URL (probably technically an IRI) in the status bar is > http://www.last.fm/music/Bj�rk/Post > > 4. Type or copy that URL into the location bar > > http://www.last.fm/music/Bj%F6rk/Post is requested, which does not exist. If that is the case we should fix it so that http://www.last.fm/music/Bj%C3%B6rk/Post is requested, rather than changing the status bar display to wallpaper over the bug; but in fact typing in http://www.last.fm/music/Bj�rk/Post works for me on both 1.8 branch and trunk (even with network.standard-url.encode-utf8 set to false). In which version are you seeing http://www.last.fm/music/Bj%F6rk/Post requested?
Assignee: nobody → smontagu
Component: General → Internationalization
Keywords: intl
Product: Firefox → Core
QA Contact: general → i18n
Version: 2.0 Branch → 1.0 Branch
(In reply to comment #1) > (In reply to comment #0) > > 4. Type or copy that URL into the location bar > > > > http://www.last.fm/music/Bj%F6rk/Post is requested, which does not exist. > in fact typing in > http://www.last.fm/music/Bj�rk/Post works for me on both 1.8 branch and trunk > (even with network.standard-url.encode-utf8 set to false). What's typed in the location bar is always converted to UTF-8 before making a request (at least in FF 1.5 or later/Gecko 1.8 or later). This bug was filed against gecko 1.0 branch. I'm not sure that's what the reported meant to do.
(In reply to comment #1) > In which version are you seeing http://www.last.fm/music/Bj%F6rk/Post requested? Firefox 2 – Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1) Gecko/20061010 Firefox/2.0 (In reply to comment #2) > This bug was filed > against gecko 1.0 branch. I'm not sure that's what the reported meant to do. I filed it against Firefox 2; Simon changed that to Core 1.0 when he took the bug. I'm changing it to Core 1.8 now since there's no Core 1.8.1 option. Bugzilla and/or Firefox seem to be screwing the character encoding of this page up. Comments 1 and 2 contain occurrences of "Bj�rk", with an umlauted i, an inverted question mark and a half fraction. So to clarify, any character or sequence of characters appearing in comment 0 between "Bj" and "rk" that aren't "%C3%B6" or "%F6" should be an umlauted o. Also, bug 17889 is really annoying.
Version: 1.0 Branch → 1.8 Branch
(In reply to comment #1) > If that is the case we should fix it so that > http://www.last.fm/music/Bj%C3%B6rk/Post is requested, rather than changing the > status bar display to wallpaper over the bug Retitling/morphing the bug to this.
Summary: Firefox incorrectly displays URLs/IRIs with diacritics/accents (from last.fm) in the status bar → Firefox requests URLs/IRIs with diacritics/accents incorrectly when they are typed into the location bar (and differently to when following a hyperlink)
(In reply to comment #3) > (In reply to comment #2) > > This bug was filed > > against gecko 1.0 branch. I'm not sure that's what the reported meant to do. > > I filed it against Firefox 2; Simon changed that to Core 1.0 when he took the > bug. I didn't touch the Version field when reassigning. Perhaps this is a bug in Bugzilla?
I can't reproduce the bug in the page in FF 1.5.0.8. The page is in UTF-8 so that the problem reported cannot be an issue whether network.standard-url.encode-utf8 is set to true or false.
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
closing WFM per comment 6 & 7. please reopen if you see otherwise.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.