Wrong capitalization of developer/author's name in tooltip if the first letter of a name is a non-ASCII character
Categories
(Tree Management :: Treeherder: Frontend, defect)
Tracking
(Not tracked)
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
+++ This bug was initially created as a clone of Bug #1444986 +++
See https://treeherder.mozilla.org/#/jobs?repo=mozilla-central, and hover over the author icon/initials of one of Emilio's patches. Note that the tooltip shows his name as
Emilio Cobos ÁLvarez
(note the capital "L"), even though in the actual revision, it is correctly given as "Emilio Cobos Álvarez.
This arises because of the use of \w
, which is ASCII-only, in the regexp that is looking for name components to capitalize. A better option would be \p{General_Category=Letter}
.
Assignee | ||
Comment 1•10 months ago
|
||
Proposed fix: https://github.com/mozilla/treeherder/pull/7885
Comment 2•10 months ago
|
||
https://github.com/mozilla/treeherder/pull/7885/commits/8ffc0aea989fd193b3a0c8d32d32159c69873e68
https://github.com/mozilla/treeherder/pull/7885/commits/849174344689d14b6b436df4332a7d066ba56ccd
https://github.com/mozilla/treeherder/pull/7885/commits/863e26ba15abfb63ca3f1191135bf4d3ab32891e
Description
•