Protocol-relative URL breaks origin checks, use location.protocol.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 22 May 2014 10:55:12 +0000 (12:55 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Thu, 22 May 2014 10:55:12 +0000 (12:55 +0200)
webcart1000.js

index 10b96da5b8e3b4d0bcebf77dea32c9ab32e444e1..101a9fdda185366bd6ada74a520030e050b01311 100644 (file)
@@ -10,7 +10,7 @@
 (function () {
     "use strict";
 
-    var ORIGIN = "//yukkurigames.com";
+    var ORIGIN = location.protocol + "//yukkurigames.com";
     var TARGET = ORIGIN + "/webcart1000/o_o.html";
     var wc1kFrame;
     var wc1kWindow;