From: Bill Erickson Date: Thu, 17 Aug 2017 16:12:42 +0000 (-0400) Subject: LP#1507013 XUL offline (etc) always uses HTTPS X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9919b928d803adf304a3d7639745a33a7b3c5703;p=working%2FEvergreen.git 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 --- 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(/^[^?/|]+/);