[Koha-bugs] [Bug 23475] Search context is lost when simple search leads to a single record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 12 16:38:34 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23475

--- Comment #10 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to Marcel de Rooy from comment #7)
> Nick: At first glance it seems to me that you should encode/decode unicode
> stuff when saving and fetching from CGI cookies. I had a quick look in CGI
> on cpan but the docs are very quiet about it. Cannot see if -utf8 should
> handle cookie values too. Please check.

It looks like Firefox and Chrome both URI encode the values when we save them.

To decode we need unescape, then utf8 decode, at least that's what worked.

Afaict, things are not consistent:
https://stackoverflow.com/questions/1969232/what-are-allowed-characters-in-cookies

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list