LP#1207281: require SSL when downloading offline patron list
authorGalen Charlton <gmc@esilibrary.com>
Thu, 26 Sep 2013 21:24:42 +0000 (14:24 -0700)
committerBill Erickson <berick@esilibrary.com>
Thu, 3 Oct 2013 14:53:30 +0000 (10:53 -0400)
This patch builds on the previous one by forcing use of
SSL for downloading the offline patron list.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/xul/staff_client/chrome/content/main/menu.js

index b437767..50e4986 100644 (file)
@@ -455,6 +455,7 @@ RewriteRule .? - [E=locale:%{HTTP:Accept-Language}]
     require valid-user
     PerlSendHeader On
     allow from all
+    SSLRequireSSL
 </Location>
 
 # ----------------------------------------------------------------------------------
index de871cd..d9db611 100644 (file)
@@ -1320,7 +1320,7 @@ main.menu.prototype = {
                 function() {
                     try {
                         var x = new XMLHttpRequest();
-                        var url = 'http://' + XML_HTTP_SERVER + '/standalone/list.txt';
+                        var url = 'https://' + XML_HTTP_SERVER + '/standalone/list.txt';
                         x.open("GET",url,false);
                         x.send(null);
                         if (x.status == 200) {