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

--- Comment #10 from Nick Clemens <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to