From 007b049c55779d0065f6c347e59b594e6140d51b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Apr 2013 15:43:58 +0200 Subject: [PATCH] Bug 10070: revert previous changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test 1/ logout 2/ search "bar" (added to the history) 3/ search "féé" => history is empty Apply patch 1/ logout 2/ search "bar" (added to the history) 3/ search "féé" => added to the history Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Passes tests and QA script. Signed-off-by: Jared Camins-Esakov --- 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 363a11ea0e..8fec9a5a03 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]; -- 2.39.5