[Koha-bugs] [Bug 25774] REST API searches don't handle correctly utf8 characters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 06:18:45 CEST 2020


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
Created attachment 105932
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105932&action=edit
Bug 25774: replace decode_json with from_json

decode_json expects octets/bytes but from_json expects a string.

We don't need to encode the query parameters as bytes to give to
decode_json. Instead, we can just pass the string to from_json,
and it will work as expected.

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


More information about the Koha-bugs mailing list