Koha/koha-tmpl/intranet-tmpl/prog
Olli-Antti Kivilahti 638b7225ae Bug 9811: Fixing JSON validation error for non-javascript string literal characters
Issue:
When a patron has backslashes in his circulation notes, the JSON transportation
layer cannot send the message because it will fail JSON validation when trying to
validate backslashed non-literal characters (\s \d ...).
This causes the whole search to fail when even one Borrower has a non-literal
backslashed character in his notes.

Solution:
The Borrowers' circulation notes are filtered through a regexp which doubles all
backslashes to prepare them for the JSON validation routine.

Result:
Backslashes pass through unchanged.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-01 09:57:49 -03:00
..
en Bug 9811: Fixing JSON validation error for non-javascript string literal characters 2014-07-01 09:57:49 -03:00
img Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00
pdf Bug 7267: Add account number to German PDF template 2014-04-11 15:06:07 +00:00
sound