diff -r 436a31d11f1d -r 70c9688a1486 tweetcast/client/lib/websocket-js/flash-src/src/net/gimite/websocket/WebSocketMainInsecure.as --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tweetcast/client/lib/websocket-js/flash-src/src/net/gimite/websocket/WebSocketMainInsecure.as Thu Oct 06 12:39:29 2011 +0200 @@ -0,0 +1,20 @@ +// Copyright: Hiroshi Ichikawa +// License: New BSD License + +package net.gimite.websocket { + +import flash.system.Security; + +public class WebSocketMainInsecure extends WebSocketMain { + + public function WebSocketMainInsecure() { + Security.allowDomain("*"); + // Also allows HTTP -> HTTPS call. Since we have already allowed arbitrary domains, allowing + // HTTP -> HTTPS would not be more dangerous. + Security.allowInsecureDomain("*"); + super(); + } + +} + +}