diff -r 2ddd11ec2da2 -r 436a31d11f1d tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/src/net/gimite/websocket/WebSocketMainInsecure.as --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/src/net/gimite/websocket/WebSocketMainInsecure.as Thu Oct 06 11:56:48 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(); + } + +} + +}