Go to file
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
C4 Bug 21849: Two useless Koha::Account::Offset->new calls need attention 2019-01-02 10:23:04 +01:00
Koha Bug 21955: Remove Cache::Memory as fallback for L2 cache 2018-12-19 14:09:23 +01:00
OpenILS
…
acqui Bug 21853: (follow-up) to solve printpdf error 2018-12-19 08:11:20 +01:00
admin Bug 21740: Show @ when editing fixed-length fields on bibliographic frameworks 2018-11-28 15:19:18 +01:00
api/v1 [17.11.x] correct duplicat keys in definitions.json 2018-11-02 15:18:20 +01:00
authorities Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
basket Bug 21874: Fix encoding of cart and list email subjects 2018-12-19 13:45:31 +01:00
catalogue Bug 20968: (follow-up) Replace tabs with spaces 2018-11-29 11:12:51 +01:00
cataloguing Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
circ Bug 21837: Don't set holdingbranch filter using selected homebranch filter 2018-12-19 10:02:17 +01:00
clubs Bug 18632: Remove 'CGI::param called in list context' warnings 2017-05-28 22:25:22 -04:00
course_reserves Bug 21349: Instructors with special characters in cardnumber cannot be removed from course reserves 2018-11-28 12:00:35 +01:00
debian Bug 20952 - Automatic debian/control updates (oldoldstable/17.11.x) 2018-12-19 17:17:41 +01:00
docs Bug 20906: Prevent test failures due to stricter perl 2018-06-28 07:44:23 +02:00
errors
…
etc Bug 21031: Apache Rewrite rules don't work for API when using anything but Debian package Plack configuration 2018-09-21 11:57:55 +02:00
ill Bug 21289: Fix "isa" bug during partner request 2018-10-11 14:45:14 +02:00
installer Bug 21931: Do not reset the ES mapping on 3.23.00.050 2019-01-02 11:02:50 +01:00
koha-tmpl Bug 21778: Sort user list by surname,firstname unless user cannot manage patron lists OR edit patrons 2019-01-02 10:18:23 +01:00
labels Bug 20765: Fix search for items by acqdate in label batch 2018-09-24 11:52:13 +02:00
members Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
misc Bug 21908: (QA follow-up) Remove useless parentheses in query 2019-01-02 10:24:58 +01:00
offline_circ Bug 13779: (QA follow-up) Correct checkauth call in offline_circ/download.pl 2018-09-24 11:39:46 +02:00
opac Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
patron_lists Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
patroncards Bug 8604: Patron cards made for patrons which don't have patron images use preceding card's image 2018-08-28 15:13:11 +02:00
plugins Bug 19088: plugins-upload causes error log noise 2017-08-30 15:05:56 -03:00
reports Bug 16653: (QA follow-up) Avoid a warning and remove unused variables 2018-07-04 09:00:47 +02:00
reserve Bug 20724: Move the ReservesNeedReturns logic to AddReserve 2018-08-27 14:45:26 +02:00
reviews Bug 19808: Handle deleted reviewers gracefully - reviews/reviewswaiting.pl 2017-12-21 16:07:12 +00:00
rotating_collections Bug 21500: Remove warnings in rotating collections 2018-11-09 08:03:21 +01:00
serials Bug 20241: Fix display of publication year in subscription record search for MARC21 2018-10-10 12:07:06 +02:00
services
…
skel
…
suggestion Bug 21048: (QA follow-up) Fix authorized value statuses in filter 2018-09-21 12:14:19 +02:00
svc Bug 21115: Add multi_param call and add divider in cache key in svc/report and opac counterpart 2018-11-09 09:33:39 +01:00
t Bug 21849: Add unit tests 2019-01-02 10:22:36 +01:00
tags Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
test
…
tmp/modified_authorities
…
tools Bug 21986: Do not escape quotation marks when cataloguing 2019-01-02 11:12:37 +01:00
virtualshelves Bug 21874: (QA follow-up) Fix intranet sendshelf 2018-12-19 13:45:44 +01:00
xt Bug 18959: Skip xt/author/Text_CSV_Various.t if Text::CSV::Unicode missing 2018-11-28 09:34:02 +01:00
.editorconfig
…
.htaccess
…
.mailmap Update mailmap - Jonathan Druart 2017-06-21 12:42:19 -03:00
INSTALL Bug 17626: Remove existing install instructions and link to the wiki pages instead 2016-11-22 11:29:07 +00:00
Koha.pm Increment version for 17.11.13 release 2018-12-21 07:50:06 +01:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 7317: Interlibrary loans framework for Koha. 2017-11-09 11:42:12 -03:00
README
…
README.md Bug 15465: Fix typo in bugs.k-c.org 2017-05-26 11:45:31 -03:00
README.robots
…
about.pl Bug 7317: Add partner_code checks to abot page 2017-11-09 11:42:14 -03:00
changelanguage.pl Bug 16776: Do not forget external language choice in language switcher 2016-08-10 13:51:33 +00:00
edithelp.pl Bug 16447: Remove occurrence of the borrow permission which does no longer exist 2016-05-05 21:28:14 +00:00
fix-perl-path.PL
…
help.pl Bug 16724: Fix link to the online documentation links 2016-06-24 12:00:42 +00:00
install-CPAN.pl
…
koha_perl_deps.pl Bug 17990: Refactor Perl module versions check 2017-02-17 12:13:44 +00:00
kohaversion.pl
…
mainpage.pl Bug 18432 : Follow up - Updating to use they/them 2017-04-21 10:56:43 -04:00
rewrite-config.PL Bug 15427 : Enable TLS support for MySQL 2017-03-03 18:33:07 +00:00

README.md

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo