Koha-clms/members
Jonathan Druart 7e21b1fd2d Bug 21986: Do not escape quotation marks when cataloguing
In several places we escape quotation marks using
  $value =~ s/"/"/g;
All the occurrences are wrong and must be removed.
Most of them are leftover of bug 11638 (Remove HTML from
addbiblio.pl), which removes the construction of html from pl scripts.

The problem has been highlighted by bug 13618, I did not track down why
the issue did not exist before (?)

Test plan:
0/ Use strings with quotation marks, like:
'Fiddle tune history : "bad" tunes'
You can also use other html characters to make the tests more complete,
like 'Fiddle tune history : <"bad" tunes>'
1/ authorities/authorities.pl
a. Edit an authority filling different fields with quotation marks
b. Edit it again
=> The display (inputs' values) is wrong, if you save the escaped quotes
will be inserted
2/ cataloguing/addbiblio.pl
Same editing a bibliographic record
3/ cataloguing/additem.pl
Same editing items
4/ members/memberentry.pl
Edit a patron's record and fill some fields with quotation marks
+ fields borrowernotes and opacnotes
=> The quotes are inserted directly in DB (escape is done before the
insert!)
5/ opac/opac-review.pl
For QA only: $js_ok_review is never used
6/ tools/batchMod.pl
For QA only: $value is always undefined at that point

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit d561273ef8)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 305729fdc0)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e2cfc2615c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2019-01-02 11:12:37 +01:00
..
boraccount.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 19621: Use Koha.Preference on template side to display/hide "Routing lists" tab 2018-01-15 14:31:52 +00:00
discharge.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
discharges.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
files.pl Bug 19621: Use Koha.Preference on template side to display/hide "Routing lists" tab 2018-01-15 14:31:52 +00:00
guarantor_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
holdshistory.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
housebound.pl Bug 17829: Move GetMember to Koha::Patron 2017-07-10 13:14:19 -03:00
mancredit.pl Bug 20701: (17.11 follow-up) Move csrf token after checkauth and use 2018-05-23 14:59:19 +00:00
maninvoice.pl Bug 20701: (17.11 follow-up) Move csrf token after checkauth and use 2018-05-23 14:59:19 +00:00
member-flags.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
member-password.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
member.pl Bug 20998: Simplify the conditional statement 2018-07-04 08:47:33 +02:00
memberentry.pl Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
members-home.pl Bug 12346: Display the correct number of pending patron modifications on the patron module home page 2017-09-12 12:08:45 -03:00
members-update-do.pl Bug 19400: Reminder to unset gone no address flag after patron makes a modification request 2017-10-27 16:05:51 -03:00
members-update.pl Bug 13757: Better display for attr changes in members-update.pl 2017-03-24 18:45:17 +00:00
mod_debarment.pl Bug 18858: Prevent warn when deleting a borrower debarment 2017-07-13 18:23:29 -03:00
moremember.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
nl-search.pl Bug 15407: Koha::Patron::Categories - replace C4::Category->all 2016-09-08 13:29:03 +00:00
notices.pl Bug 19621: Use Koha.Preference on template side to display/hide "Routing lists" tab 2018-01-15 14:31:52 +00:00
patronimage.pl Bug 17423 - patronimage.pl permission is too restrictive 2016-10-17 23:44:25 +00:00
pay.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
paycollect.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl Bug 20903: Remove unnecessary category code parameters 2018-07-04 08:57:54 +02:00
printinvoice.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 19621: Use Koha.Preference on template side to display/hide "Routing lists" tab 2018-01-15 14:31:52 +00:00
readingrec.pl Bug 19921: Fix update child when only one adult patron category exist 2018-01-23 01:11:42 +00:00
routing-lists.pl Bug 21397: Mark "Routing list" tab as active when selected 2018-10-08 07:57:03 +02:00
setstatus.pl Bug 16911: Rename extend_subscription with renew_account 2016-09-09 09:45:32 +00:00
statistics.pl Bug 19621: Use Koha.Preference on template side to display/hide "Routing lists" tab 2018-01-15 14:31:52 +00:00
summary-print.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
update-child.pl Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00