From 4f6a559765e8e3f9fa6bc96f9d260a1998565414 Mon Sep 17 00:00:00 2001 From: senator Date: Fri, 1 Oct 2010 21:48:41 +0000 Subject: [PATCH] Fix an apparent bug in a case where OpenILS::WWW::Proxy means to send a redirect, and also avoid the issue altogether in the new holds pull list printing interface just added earlier today. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18130 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm | 2 +- Open-ILS/xul/staff_client/server/patron/holds.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm b/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm index 1fd0994090..6c5f3da40d 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/Proxy.pm @@ -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) { diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index 678d87e9cd..b468fdce17 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -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, { -- 2.11.0