am d9c8bbd5
: docs: fix xss issue bug 5125642
* commit 'd9c8bbd56a9c76a111f9441871e79516c521aa75': docs: fix xss issue bug 5125642
This commit is contained in:
@ -52,7 +52,7 @@ onclick="submit()" />
|
|||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
var loc = window.location.href;
|
var loc = window.location.href;
|
||||||
if (loc.indexOf('?v=') != -1) {
|
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);
|
document.write("File: " + filename);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user