Koha/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards
Jonathan Druart cd20b61a7c Bug 15722: Escape patron infos for JSON in patron searches
If patron infos contain invalid JSON chars (\t for instance), the
results won't appear.
The solution is to escape these info.

Test plan:
Edit patron infos in DB (update borrowers set surname="foobar\t" where
borrowernumber=42)
Search for foobar (you should have more than 1 result)
Without this patch, DT retrieves a bad formatted JSON and the results
won't appear.
With this patch, the table result appears

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-24 16:14:31 +00:00
..
tables Bug 15722: Escape patron infos for JSON in patron searches 2016-03-24 16:14:31 +00:00
edit-batch.tt Bug 15573 [QA Followup] - Tweak wording 2016-01-27 05:36:52 +00:00
edit-layout.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
edit-profile.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
edit-template.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
home.tt Bug 16020 - Remove unused CSS and images following label creator UX changes 2016-03-22 00:58:58 +00:00
image-manage.tt Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
manage.tt Bug 14131 - Patroncard: Add possibility to print from patron lists 2015-12-31 20:24:58 +00:00
print.tt Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00