Subject: | Cookie validation fails for Unicode strings |
Cookie validation fails when the cookie contains some Unicode characters:
set_authen_cookie(value => {string => 'Krůta'});
Now authen_cookie_value returns undef. This can be worked around like this:
set_authen_cookie(value => {string => encode_base64(encode_utf8('Krůta'))});
And of course now I have to decode the string back on the other end.