Koha-clms/opac
Jonathan Druart 9a22ae4fc5 Bug 17830: CSRF - Handle unicode characters in userid
If the userid of the logged in user contains unicode characters, the token
will not be generated correctly and Koha will crash with:
  Wide character in subroutine entry at /usr/share/perl5/Digest/HMAC.pm line 63.

Test plan:
- Edit a superlibrarian user and set his/her userid to '❤' or any other strings
with unicode characters.
- Login using this patron
- Search for patrons and click on a result.

=> Without this patch, you will get a software error (with "Wide
character in subroutine entry" in the logs).
=> With this patch, everything will go fine

You can also test the other files modified by this patch.

Signed-off-by: Karam Qubsi <karamqubsi@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 4e40339db3)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-01-04 23:01:53 +01:00
..
errors
…
rss
…
sco Bug 16873: Improve renewal error messages on self check 2016-11-30 00:06:35 +01:00
svc Bug 17392 - opac/svc/overdrive_proxy is not plack safe 2016-10-11 16:16:02 +00:00
ilsdi.pl
…
maintenance.pl
…
oai.pl
…
opac-ISBDdetail.pl
…
opac-MARCdetail.pl
…
opac-account-pay-paypal-return.pl
…
opac-account-pay.pl
…
opac-account.pl
…
opac-addbybiblionumber.pl Bug 16519: Replace 'our' with 'my' in [opac-]addbybiblionumbers.pl 2016-09-25 15:42:40 +00:00
opac-alert-subscribe.pl
…
opac-article-request-cancel.pl Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
opac-authorities-home.pl
…
opac-authoritiesdetail.pl
…
opac-basket.pl Bug 17642: Add and use get_descriptions_by_koha_field 2016-11-18 15:52:00 +00:00
opac-blocked.pl
…
opac-browser.pl
…
opac-changelanguage.pl
…
opac-course-details.pl
…
opac-course-reserves.pl
…
opac-detail.pl Bug 17642: Add and use get_descriptions_by_koha_field 2016-11-18 15:52:00 +00:00
opac-discharge.pl
…
opac-downloadcart.pl
…
opac-downloadshelf.pl Bug 17094: Make Koha::Virtualshelf methods return Koha::Objects-based objects 2016-10-11 13:14:46 +00:00
opac-export.pl
…
opac-ics.pl
…
opac-idref.pl
…
opac-image.pl
…
opac-imageviewer.pl
…
opac-main.pl
…
opac-memberentry.pl Bug 17830: CSRF - Handle unicode characters in userid 2017-01-04 23:01:53 +01:00
opac-messaging.pl
…
opac-modrequest-suspend.pl
…
opac-modrequest.pl
…
opac-mymessages.pl
…
opac-news-rss.pl
…
opac-overdrive-search.pl
…
opac-passwd.pl
…
opac-password-recovery.pl
…
opac-patron-image.pl
…
opac-privacy.pl
…
opac-ratings-ajax.pl
…
opac-ratings.pl
…
opac-readingrecord.pl
…
opac-registration-verify.pl Bug 17080: borrowers table - use default values defined in the DBIx::Class schema 2016-10-21 17:33:19 +00:00
opac-renew.pl
…
opac-request-article.pl Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
opac-reserve.pl
…
opac-restrictedpage.pl
…
opac-retrieve-file.pl
…
opac-review.pl Bug 15839: [QA Follow-up] Error checking in opac-review.pl 2016-09-09 10:31:06 +00:00
opac-search-history.pl
…
opac-search.pl Bug_17484 Search with date range limit (lower and upper) does not work 2016-11-18 13:46:00 +00:00
opac-sendbasket.pl Bug 17830: CSRF - Handle unicode characters in userid 2017-01-04 23:01:53 +01:00
opac-sendshelf.pl Bug 17094: Make Koha::Virtualshelf methods return Koha::Objects-based objects 2016-10-11 13:14:46 +00:00
opac-serial-issues.pl
…
opac-shareshelf.pl
…
opac-shelves.pl Bug 17094: Make Koha::Virtualshelf methods return Koha::Objects-based objects 2016-10-11 13:14:46 +00:00
opac-showmarc.pl
…
opac-showreviews.pl
…
opac-suggestions.pl Bug 17248 - Koha::AuthorisedValues - Remove GetKohaAuthorisedValueLib 2016-10-11 13:11:55 +00:00
opac-tags.pl
…
opac-tags_subject.pl
…
opac-topissues.pl
…
opac-user.pl Bug 15581: Follow-up - suggested change to the OPAC message 2016-11-02 10:28:58 +00:00
tracklinks.pl
…
unapi
…