From 9919b928d803adf304a3d7639745a33a7b3c5703 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 17 Aug 2017 12:12:42 -0400 Subject: [PATCH] LP#1507013 XUL offline (etc) always uses HTTPS Modify the XUL url_prefix utility funtion so that it always uses HTTPS. Specifically, this allows the offline upload process to function with servers that only support HTTPS connections. Signed-off-by: Bill Erickson --- Open-ILS/xul/staff_client/chrome/content/main/menu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/menu.js b/Open-ILS/xul/staff_client/chrome/content/main/menu.js index 26034babed..2060c25c46 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/menu.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/menu.js @@ -38,6 +38,7 @@ main.menu.prototype = { 'toolbar_labelpos' : 'side', 'url_prefix' : function(url,secure) { + secure = true; // ssl-everywhere // This allows urls to start with a urls key (or be only a urls key) // We stop at the first / or ? to allow extra paths and query strings. var base_url = url.match(/^[^?/|]+/); -- 2.11.0