Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit 1127712

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/Flash/SWFUpload.as

Lines changed: 1 addition & 0 deletions
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)