Bug 26952

Summary: plugin search term is not correct escaped
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Plugin architectureAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Jonathan Druart 2020-11-06 13:45:43 UTC
From bug 24633 comment 11:

It seems that we should URI escape the term before.

With this patch if you search "*" you get: 
malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/JSON.pm line 190

Without the patch you can search for "*", but "&?&".