From fcc5260134fb7401cfcb25424476804520e4da70 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 22 Sep 2008 13:22:15 +0000 Subject: [PATCH] forgot this when porting. Test SSL right from the start git-svn-id: svn://svn.open-ils.org/ILS/trunk@10681 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/auth/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js index 42ab9245dd..784c878b22 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js @@ -254,7 +254,7 @@ auth.controller.prototype = { return; } try { - if ( ! url.match(/^http:\/\//) ) url = 'http://' + url; + if ( ! url.match(/^https:\/\//) ) url = 'https://' + url; var x = new XMLHttpRequest(); dump('server url = ' + url + '\n'); x.open("GET",url,true); -- 2.43.2