[Koha-bugs] [Bug 22290] Next pages results for cyrillic symbols shows decoded text in URL in anchor tag
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 18 16:23:11 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22290
George Veranis <gveranis at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gveranis at gmail.com
--- Comment #1 from George Veranis <gveranis at gmail.com> ---
Based on https://www.perlmonks.org/bare/?node_id=495747
and that answer
"
Won't that escape data twice? Without actually running it, it looks like
"\x{1234}"
would be transformed by uri_escape_utf8 into
"%C8%B4"
which would be transformed by POST into
"%25C8%25B4"
while the right answer would be
"%C8%B4"
"
I add the line $query_cgi = Encode::decode_utf8(uri_unescape($query_cgi));
at 587 of opac-search.pl and it works
I will try later to do a patch for that.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list