https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44051 --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211745 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211745&action=edit Bug 44051: (QA follow-up) Accept non-ASCII characters in the q parameter The q validation parsed the search with Mojo::JSON::decode_json, which expects UTF-8 bytes. Mojolicious has already decoded the query parameter into characters, so any search containing a non-ASCII character, such as {"title":{"like":"%Bibliothèque%"}}, was rejected with 400 "The q parameter is not valid JSON". Use from_json, which takes characters, and add a test with a non-ASCII title. To test: 1. Apply the patches, restart_all 2. prove t/db_dependent/api/v1/record_source_editing_groups.t => Success 3. Create a library group flagged for record source editing with the title "Bibliothèque municipale" 4. As a user with manage_record_sources, request /api/v1/record_source_editing_groups?q={"title":{"like":"%Biblioth%C3%A8que%"}} => 200 with the matching group, not 400 invalid JSON Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.