Revision: 4806
Author:   jasvir
Date:     Wed Mar 14 16:28:24 2012
Log:      Default to https rather than http on caja.appspot.com
http://codereview.appspot.com/5820058

If a client does not provide a cajaServer or resources explicitly in config,
we should use https instead of http to avoid mixed content errors.

[email protected]

http://code.google.com/p/google-caja/source/detail?r=4806

Modified:
 /trunk/src/com/google/caja/plugin/caja.js

=======================================
--- /trunk/src/com/google/caja/plugin/caja.js   Wed Mar  7 14:06:47 2012
+++ /trunk/src/com/google/caja/plugin/caja.js   Wed Mar 14 16:28:24 2012
@@ -23,7 +23,7 @@

 var caja = (function () {
   var cajaBuildVersion = '%VERSION%';
-  var defaultServer = 'http://caja.appspot.com/';
+  var defaultServer = 'https://caja.appspot.com/';
   var defaultFrameGroup;
   var readyQueue = [];
   var registeredImports = [];

Reply via email to