Sanitize user input
This commit is contained in:
parent
cb736b42e3
commit
4f7e4c20d2
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ OCP\App::checkAppEnabled('gallery');
|
|||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="js/sharing.js" type="text/javascript"></script>
|
||||
<script>
|
||||
var TOKEN = '<?php echo $_GET['token']; ?>';
|
||||
var TOKEN = '<?php htmlentities(echo $_GET['token']); ?>';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue