[Koha-bugs] [Bug 32401] x-koha-query cannot contain non-ISO-8859-1 values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 12 06:03:39 CET 2022


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

--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
(In reply to Marcel de Rooy from comment #9)
> Why dont we use encodeURIComponent on the header string and call
> url_decode_utf8 on the receiving side?
> 
> This could be kind of a convention for x-koha headers? Search for percent
> encoding, evaluate results of decoding? And be done quite early in the
> process on a general level when processing (PSGI) headers?

It sounds hacky to me. I've never heard of any other system doing something
like that. Technically we could do it, but I think we should ask ourselves why
we'd want to. (You make an interesting point about that on bug 32406 of
course.)

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


More information about the Koha-bugs mailing list