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="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 src="js/sharing.js" type="text/javascript"></script>
|
||||||
<script>
|
<script>
|
||||||
var TOKEN = '<?php echo $_GET['token']; ?>';
|
var TOKEN = '<?php echo htmlentities($_GET['token']); ?>';
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue