[open-ils-commits] r10681 - trunk/Open-ILS/xul/staff_client/chrome/content/auth

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Sep 22 09:22:17 EDT 2008


Author: phasefx
Date: 2008-09-22 09:22:15 -0400 (Mon, 22 Sep 2008)
New Revision: 10681

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
Log:
forgot this when porting.  Test SSL right from the start

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/auth/controller.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/auth/controller.js	2008-09-22 13:20:11 UTC (rev 10680)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/auth/controller.js	2008-09-22 13:22:15 UTC (rev 10681)
@@ -254,7 +254,7 @@
 			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);



More information about the open-ils-commits mailing list