forgot this when porting. Test SSL right from the start
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Sep 2008 13:22:15 +0000 (13:22 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Sep 2008 13:22:15 +0000 (13:22 +0000)
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

index 42ab924..784c878 100644 (file)
@@ -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);