[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. b9df2faf77f30a980c95af2f98048447c539131e

Evergreen Git git at git.evergreen-ils.org
Sun Jan 8 10:22:16 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_0 has been updated
       via  b9df2faf77f30a980c95af2f98048447c539131e (commit)
      from  b8b6306466d711373571f28a66727d87f9961320 (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 b9df2faf77f30a980c95af2f98048447c539131e
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Mon Sep 26 14:40:19 2011 -0400

    LP#845763 remote added content breaks
    
    remote added content breaks when using locally served content
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Dan Scott <dan at coffeecode.net>

diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm b/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm
index f4c816b..e53666e 100644
--- a/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm
+++ b/Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm
@@ -80,11 +80,12 @@ sub handler {
     return Apache2::Const::DECLINED if (-e $r->filename);
 
     my $cgi = CGI->new;
-    my $path = $r->path_info;
+    my @path_parts = split( /\//, $r->unparsed_uri );
+    my $type = $path_parts[-3];
+    my $format = $path_parts[-2];
+    my $key = $path_parts[-1];
     my $res;
 
-    my( undef, $type, $format, $key ) = split(/\//, $r->path_info);
-
     child_init() unless $handler;
 
     return Apache2::Const::NOT_FOUND unless $handler and $type and $format and $key;

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

Summary of changes:
 Open-ILS/src/perlmods/OpenILS/WWW/AddedContent.pm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list