Digest::SHA no longer accepts Unicode characters since 5.82, preventing saved searches from being displayed if their name contains such characters. The fix I implemented in bug 477513 has been reverted in bug 767623 in 4.4 because at that time it was fine to pass Unicode characters (5.82 wasn't released yet). This fix must come back.
Created attachment 8365738 [details] [diff] [review] patch, v1 Must land before we release 4.4.2.
I did some testing, and my patch restores exactly the old behavior, i.e. passing the same Unicode string returns exactly the same key as before 5.82. So "old" tokens won't be invalidated by this patch, which is good. :)
Comment on attachment 8365738 [details] [diff] [review] patch, v1 r=dkl
Attachment #8365738 - Flags: review?(dkl) → review+
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/trunk/ modified Bugzilla/Token.pm modified template/en/default/pages/release-notes.html.tmpl Committed revision 8894. Committing to: bzr+ssh://email@example.com/bugzilla/4.4/ modified Bugzilla/Token.pm modified template/en/default/pages/release-notes.html.tmpl Committed revision 8652.
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.