added window.history.pushState to fix signature check
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 15 Sep 2014 21:39:34 +0000 (07:39 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 15 Sep 2014 21:39:34 +0000 (07:39 +1000)
youtube.cgi

index 6495c8d..eeb5fd2 100755 (executable)
@@ -169,7 +169,10 @@ def decode_signature(js_url, signature):
 
         var sandbox = {
             window: {
-                location: {}
+                location: {},
+                history: {
+                    pushState: function(){}
+                }
             },
             document: {},
             navigator: {},