Closed
Bug 778482
Opened 14 years ago
Closed 14 years ago
Link annotation marks existing page as "new" when URL-encoded non-English characters are present
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lorchard, Unassigned)
References
Details
This doc:
https://developer-new.mozilla.org/fr/docs/CSS/widows
Uses this template:
{{ Xref_cssinherited() }}
Which contains this link:
<a href="/fr/docs/CSS/H%c3%a9ritage">Héritée</a>
And that link is incorrectly annotated with class="new" by Kuma, though page does indeed exist:
https://developer-new.mozilla.org/fr/docs/CSS/H%C3%A9ritage
The reason, I'd guess, is because "CSS/H%C3%A9ritage" is used as-is in the DB query. Instead, this should be decoded from the URL as a UTF-8 string like "CSS/Héritage" and then *that* should be used in the DB query for doc existence check
| Reporter | ||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/c9f6e40ce21d5e8900dbb62361c4dc9b8748d157
fix bug 778482: Decode URL-encoded UTF-8 characters in the link path
https://github.com/mozilla/kuma/commit/66a2c65db90c973b2ea3eb7307227db9f9557743
fix bug 778482 - utf8 encode preserves utf8 chars
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•14 years ago
|
Version: Kuma → unspecified
| Assignee | ||
Updated•14 years ago
|
Component: Docs Platform → Editing
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•