Backport r18130 from trunk
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Oct 2010 21:50:48 +0000 (21:50 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 1 Oct 2010 21:50:48 +0000 (21:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18131 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm
Open-ILS/xul/staff_client/server/patron/holds.js

index 1fd0994..6c5f3da 100644 (file)
@@ -80,7 +80,7 @@ sub handler {
         my $base = $cgi->url(-base=>1);
                $base =~ s/^http:/https:/o;
                print "Location: $base".$apache->unparsed_uri."\n\n";
-               return Apache2::Const::OK;
+               return Apache2::Const::REDIRECT;
        }
 
        if (!$auth_ses) {
index 678d87e..b468fdc 100644 (file)
@@ -351,7 +351,7 @@ patron.holds.prototype = {
                                 });
 
                                 var loc = urls.XUL_BROWSER + "?url=" + window.escape(
-                                    xulG.url_prefix("/opac/extras/circ/alt_pull_list.html")
+                                    xulG.url_prefix("/opac/extras/circ/alt_pull_list.html").replace("http:","https:")
                                 );
                                 xulG.new_tab(
                                     loc, {