[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 551de43d37e51f81ffe2135678024cc7314b7488

Evergreen Git git at git.evergreen-ils.org
Mon Dec 17 23:44:04 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_3 has been updated
       via  551de43d37e51f81ffe2135678024cc7314b7488 (commit)
      from  cc8039a36d41fa6f8f316a6843bb07fc63f04f59 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 551de43d37e51f81ffe2135678024cc7314b7488
Author: Jason Stephenson <jstephenson at mvlc.org>
Date:   Tue Oct 30 13:07:21 2012 -0400

    Use uri_escape_utf8 in EGCatLoader/Record.pm.
    
    To avoid this:
    
    [Tue Oct 30 12:34:36 2012] [error] [client 134.241.121.11] egweb: Context
    Loader error: Can't escape \\x{02B9}, try uri_escape_utf8() instead at
    /usr/local/share/perl/5.14.2/OpenILS/WWW/EGCatLoader/Record.pm line 472 \n,
    referer: http://catalog.mvlc.org/eg/opa c/results?fi%3Aitem_type=&query=
    zhenshchiny&qtype=keyword&locg=1
    
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
index 4497c33..a4af2c6 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -469,7 +469,7 @@ sub added_content_stage1 {
             $req->host($self->apache->hostname);
 
             my $http_type = ($type eq $sel_type) ? 'GET' : 'HEAD';
-            $req->write_request($http_type => "/opac/extras/ac/$type/html/" . uri_escape($key));
+            $req->write_request($http_type => "/opac/extras/ac/$type/html/" . uri_escape_utf8($key));
             $ctx->{added_content}->{$type}->{request} = $req;
         }
     }

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list