Permalink
Browse files

Prevent cross-domain scripting allowed by wildcard allowDomain() argu…

…ment
  • Loading branch information...
joncave committed Jun 19, 2013
1 parent f6e5097 commit c6165608855eeab00f8fea92606ed5be418124a4
Showing with 0 additions and 2 deletions.
  1. +0 −2 core/Flash/SWFUpload.as
View
@@ -154,8 +154,6 @@ package {
return;
}
- Security.allowDomain("*"); // Allow uploading to any domain
-
// Keep Flash Player busy so it doesn't show the "flash script is running slowly" error
var counter:Number = 0;
root.addEventListener(Event.ENTER_FRAME, function ():void { if (++counter > 100) counter = 0; });

0 comments on commit c616560

Please sign in to comment.