Open
Bug 436517
Opened 17 years ago
Updated 2 years ago
Right-to-left control character in URL results in incorrectly displayed messages on error pages (missing LTR character after the URL variable).
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
NEW
People
(Reporter: netrolller.3d, Unassigned)
References
()
Details
When the user enters an URL into the location bar that contains U+8238 (the right-to-left character), the DNS error message text often gets garbled, due to a missing U+8236 (the left-to-right character) after the URL variable in the error page's XUL code.
For example, the URL "http://(U+8238)gro.allizom.allizgub" (correct display: "http://bugzilla.mozilla.org") results in the following error message on a Hungarian build (other language builds are also affected, but most display more subtle errors, like a misplaced dot):
"A Firefox nem találja a kiszolgálót a(z) .neyleh bugzilla.mozilla.org"
instead of:
"A Firefox nem találja a kiszolgálót a(z) bugzilla.mozilla.org helyen."
In pseudocode, the error is this:
Instead of "A Firefox nem találja a kiszolgálót a(z) %s(U+8236) helyen.", the string is "A Firefox nem találja a kiszolgálót a(z) %s helyen.". When %s contains an U+8238, then without a terminating U+8236, the entire text block, including the word "helyen", will be treated as right-to-left. (On RTL builds, a similar error can be generated using an U+8236 in the URL - in that case, an U+8238 is missing.)
Reproducible: Always
Steps to reproduce:
Go to the URL. The error is more pronounced in a Hungarian build (or any other build with text after the above example's %s), than in an English one.
Reporter | ||
Comment 1•17 years ago
|
||
Oops... the URL was wrong. New Steps to reproduce:
1. Go to the URL.
2. Click on the link. It should show the error.
Updated•16 years ago
|
Assignee: nobody → smontagu
Component: Infrastructure → Internationalization
Product: Mozilla Localizations → Core
QA Contact: infrastructure → i18n
Reporter | ||
Comment 2•14 years ago
|
||
Updated URL again. Also, happens on Windows too.
OS: Linux → All
Hardware: x86 → All
Reporter | ||
Comment 3•13 years ago
|
||
Ping! Still an issue on 4.0.1.
Comment 4•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: smontagu → nobody
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•