Sanitize user input

This commit is contained in:
Lukas Reschke 2012-08-09 22:14:48 +02:00 committed by Jörn Friedrich Dreyer
parent cb736b42e3
commit 4f7e4c20d2

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="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 htmlentities(echo $_GET['token']); ?>';
</script> </script>
</head> </head>
<body> <body>