Closed Bug 352382 Opened 19 years ago Closed 18 years ago

Name of extension developer with non-ASCII chars gets double encoded with htmlentities() (e.g. å becomes å)

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: havarh, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; nb-NO; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; nb-NO; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6 If the name of an extension developer contains non-ASCII chars the htmlentities gets double encoded, e.g. &aring; becomes &amp;aring;, this is only a problem in the displaying of the name in the extensions list. The name is displayed correctly in the user profile view in the devCP. Example: Norsk Bokmål og Nynorsk ordliste 2.0.8.1 By H&aring;var I. Henriksen Code: <h2 class="first"><a href="/firefox/3075/">Norsk Bokm&aring;l og Nynorsk ordliste 2.0.8.1</a></h2> <p class="first">By <a href="/firefox/34128/author/">H&amp;aring;var I. Henriksen</a> </p> As you can see, the name of the extension is displayed correctly (non-ASCII chars is only encoded once), but not the name of the developer. Reproducible: Always Steps to Reproduce: (No need to do these steps, since the data is public) 1. Create a user with non-ASCII chars, e.g. Kåre Bjarne 2. Upload a new extension as this user 3. Check the extension page and check out the htmlentities() encoding of the name of the developer Actual Results: Gets displayed as K&amp;aring;re Bjarne Expected Results: Should be displayed as K&aring;re Bjarne
OS: Linux → All
Hardware: PC → All
*** Bug 356406 has been marked as a duplicate of this bug. ***
*** Bug 362199 has been marked as a duplicate of this bug. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 2.0
This is fixed in Remora, see: https://addons.mozilla.org/en-US/firefox/user/34128 If the problem shows up anywhere again, feel free to reopen or file a new bug. Thanks!
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.