summaryrefslogtreecommitdiff
path: root/flash-src/src/net/gimite/websocket/WebSocketMainInsecure.as
blob: 7a368a0f0d7f27757ffa4c3602f19c74babb19af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
// 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();
  }
  
}

}