Koha-clms/opac
Fridolin SOMERS 260c423be8 Bug 11515 - Encoding problem with OpacBrowseResults
When OpacBrowseResults syspref is on, the detail page contains a results browser.
When search terms contains non-ASCII character, the search query is not well encoded in this browser.

This patch adds the URI-coding to search terms into session to avoid any encoding problem with diacritics and URI specific characters like ?,& ...
So that TT parameter 'busc' is already URI encoded and can be used to recreate seach URL.

Test plan :
- Set OpacBrowseResults on
- At OPAC, perform a search with a diacritique. For example 'déjà'
- Go to detail page of a result
=> You see browser under "Browser results"
- Click on "Back to results"
=> You get same results and same search term with correct encoding

Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Bug still present on master. I note that latin characters are taken by ISO-8859-1 encoding
(Perl's default) and that's why real UTF8 ones don't break (Perl notices they are UTF-8).
2014-11-21 15:54:05 -03:00
..
errors
…
rss
…
sco
…
svc
…
ilsdi.pl
…
maintenance.pl Bug 10582: Koha OPAC URL shows Perl error message before web installer was run 2014-11-06 13:51:37 -03:00
oai.pl
…
opac-ISBDdetail.pl
…
opac-MARCdetail.pl
…
opac-account.pl
…
opac-addbybiblionumber.pl
…
opac-alert-subscribe.pl
…
opac-authorities-home.pl
…
opac-authoritiesdetail.pl
…
opac-basket.pl
…
opac-blocked.pl
…
opac-browser.pl
…
opac-changelanguage.pl
…
opac-course-details.pl
…
opac-course-reserves.pl Bug 10632 - Enable datatables for courses and course details in the OPAC 2014-11-11 16:07:25 -03:00
opac-detail.pl Bug 11515 - Encoding problem with OpacBrowseResults 2014-11-21 15:54:05 -03:00
opac-downloadcart.pl
…
opac-downloadshelf.pl
…
opac-export.pl
…
opac-ics.pl
…
opac-image.pl
…
opac-imageviewer.pl
…
opac-main.pl
…
opac-memberentry.pl Bug 13050: Follow-up for bug 12371 2014-11-21 15:29:43 -03:00
opac-messaging.pl
…
opac-modrequest-suspend.pl
…
opac-modrequest.pl
…
opac-mymessages.pl
…
opac-overdrive-search.pl
…
opac-passwd.pl
…
opac-patron-image.pl
…
opac-privacy.pl Bug 12703 - OPAC privacy page still accessible when the feature is turned off 2014-11-19 21:39:09 -03:00
opac-ratings-ajax.pl
…
opac-ratings.pl
…
opac-readingrecord.pl Bug 12701 - OPAC reading history still accessible by URL if turned OFF 2014-11-19 21:39:32 -03:00
opac-registration-verify.pl
…
opac-renew.pl
…
opac-reserve.pl Bug 13108 - Members are restricted even if the debarment is ended - opac-reserve 2014-11-19 11:45:01 -03:00
opac-review.pl
…
opac-search-history.pl
…
opac-search.pl Bug 11515 - Encoding problem with OpacBrowseResults 2014-11-21 15:54:05 -03:00
opac-sendbasket.pl
…
opac-sendshelf.pl
…
opac-serial-issues.pl
…
opac-shareshelf.pl
…
opac-shelves.pl
…
opac-showmarc.pl
…
opac-showreviews.pl
…
opac-suggestions.pl Bug 12627: Fix date management 2014-11-07 15:17:05 -03:00
opac-tags.pl
…
opac-tags_subject.pl
…
opac-topissues.pl
…
opac-user.pl Bug 13107 - Members are restricted even if the debarment is ended - opac-user 2014-11-19 11:45:18 -03:00
tracklinks.pl
…
unapi
…