Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

Commit a0e0293

Browse files
committed
escape fix becuse XSS risk like
1 parent 8c36930 commit a0e0293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ZeroClipboard.as

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
// import flashvars
2929
var flashvars:Object = LoaderInfo( this.root.loaderInfo ).parameters;
3030
id = flashvars.id;
31-
31+
id = id.split("\\").join("\\\\");
3232
// invisible button covers entire stage
3333
button = new Sprite();
3434
button.buttonMode = true;

0 commit comments

Comments
 (0)