Koha/koha-tmpl/intranet-tmpl/prog/en
Jonathan Druart 2be0195895 Bug 20891: Escape list's names in JSON
When someone uses \ in the description of a list, the datatable in staff
won't load and keeps processing.

Test plan:
- Create a list named "<script>alert('hola');</script>"
- Create another list named "k\o\h\a"
- Hit /cgi-bin/koha/virtualshelves/shelves.pl

=> Without this patch the lists will not be displayed, JSON is
malformated
=> With this patch everything is ok

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-25 10:27:27 +00:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 16232: Fix edit as new in Rancor 2019-04-25 10:02:34 +00:00
modules Bug 20891: Escape list's names in JSON 2019-04-25 10:27:27 +00:00
xslt Bug 22418: Add magnifying glass to 655 results 2019-04-24 11:08:13 +00:00
columns.def Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00