Skip to content

Commit 1127712

Browse files
sir-gawainBuck Golemon
authored and
Buck Golemon
committedDec 21, 2012
Fixes a XSS issue in ExternalCalls.
Bug: http://code.google.com/p/swfupload/issues/detail?id=376
1 parent 83885a2 commit 1127712

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎core/Flash/SWFUpload.as

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ package {
232232

233233
// Get the movie name
234234
this.movieName = root.loaderInfo.parameters.movieName;
235+
this.movieName = this.movieName.replace(/[^a-zA-Z0-9\_\.\-]/g, "");
235236

236237
// **Configure the callbacks**
237238
// The JavaScript tracks all the instances of SWFUpload on a page. We can access the instance

0 commit comments

Comments
 (0)