From 21b46f35fdbfb0925885f92b6e106eeb4308cf7c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Apr 2013 15:43:58 +0200 Subject: [PATCH] Bug 10070: [3.12.x] revert previous changes --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 363a11e..8fec9a5 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -652,7 +652,7 @@ for (my $i=0;$i<@servers;$i++) { $newsearchcookie = $cgi->cookie( -name => 'KohaOpacRecentSearches', # We uri_escape the whole freezed structure so we're sure we won't have any encoding problems - -value =>freeze(\@recentSearches), + -value => uri_escape( freeze(\@recentSearches) ), -expires => '' ); $cookie = [$cookie, $newsearchcookie]; -- 1.7.10.4