Sanitzing user input
This commit is contained in:
parent
7780e37f38
commit
5f51366435
|
@ -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 echo htmlentities($_GET['token']); ?>';
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue