Sanitzing user input

This commit is contained in:
Lukas Reschke 2012-08-09 22:14:09 +02:00
parent 7780e37f38
commit 5f51366435
1 changed files with 1 additions and 1 deletions

View File

@ -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>