diff options
| author | 2012-02-09 16:06:31 -0800 | |
|---|---|---|
| committer | 2012-02-09 16:06:31 -0800 | |
| commit | 9c81154dfe88e7f94bd2a3359e035185722fcefe (patch) | |
| tree | a9a7cd5768f494037d12dd11a7de2c764a4b53e4 | |
| parent | 4f0106cca0c40cd506367c894436f91c4920a5e1 (diff) | |
| parent | ad231a303ee8fe7f8b51900d7b57971ab9963ad4 (diff) | |
am ad231a30: am db7da7ee: am d9c8bbd5: docs: fix xss issue bug 5125642
* commit 'ad231a303ee8fe7f8b51900d7b57971ab9963ad4':
docs: fix xss issue bug 5125642
| -rw-r--r-- | docs/html/sdk/download.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/sdk/download.jd b/docs/html/sdk/download.jd index 44fe5e4c0db1..af256096139c 100644 --- a/docs/html/sdk/download.jd +++ b/docs/html/sdk/download.jd @@ -52,7 +52,7 @@ onclick="submit()" /> <script language="javascript"> var loc = window.location.href; if (loc.indexOf('?v=') != -1) { - var filename = loc.substring(loc.indexOf('=')+1,loc.length); + var filename = loc.substring(loc.indexOf('=')+1,loc.length).replace(/</g,"<").replace(/>/g,">"); document.write("File: " + filename); } </script> |