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
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
edit-template.tt
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
manage.tt
print.tt Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00