http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9811

--- Comment #91 from Olli-Antti Kivilahti <[email protected]> ---
Created attachment 26261
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26261&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to