Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Remove possible XSS attack vector.
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindkinsey committed Sep 2, 2013
1 parent 8e8e50c commit e546f3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified src/easyxdm.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/flash/net.easyxdm.flash/Main.as
Expand Up @@ -95,7 +95,7 @@ class Main

// add the createChannel method
ExternalInterface.addCallback("createChannel", { }, function(channel:String, secret:String, remoteOrigin:String, isHost:Boolean) {
if (!Main.Validate(channel)) return;
if (!Main.Validate(channel) || !Main.Validate(secret)) return;
log("creating channel " + channel);

// get the remote domain
Expand Down

0 comments on commit e546f3c

Please sign in to comment.