]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Only append random string to swf path in IE.
authorJoel Martin <github@martintribe.org>
Tue, 28 Jun 2011 21:22:50 +0000 (16:22 -0500)
committerJoel Martin <github@martintribe.org>
Tue, 28 Jun 2011 21:22:50 +0000 (16:22 -0500)
Issue https://github.com/kanaka/noVNC/issues/69

Thanks https://github.com/EdSchouten for the catch.

Import from websockify 9a2b50d8.

include/websock.js

index df4827af361f86154a3ccb2d45942b431e698c9e..0d41ba9a93264d3c30ea209940d9e4a91aef2031 100644 (file)
@@ -32,7 +32,7 @@ if (window.WebSocket) {
             end = "'><\/script>", extra = "";
 
         WEB_SOCKET_SWF_LOCATION = get_INCLUDE_URI() +
-                    "web-socket-js/WebSocketMain.swf?" + Math.random();
+                    "web-socket-js/WebSocketMain.swf?";
         if (Util.Engine.trident) {
             Util.Debug("Forcing uncached load of WebSocketMain.swf");
             WEB_SOCKET_SWF_LOCATION += "?" + Math.random();