https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22243

            Bug ID: 22243
           Summary: Advanced Cataloguer editor fails if the target
                    contains an apostrophe in the name
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

As the title, if a z39.50 target has an apostrophe in the name, the editor
fails with an "Unexpected token" Javascript error. The array containing the
targets is constructed then embedded in the page template and, since the string
is enclosed in unescaped single apostrophes, things fall over.

The fix is to replace ' in target names with '

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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