[Pkg-owncloud-commits] [owncloud] 02/08: Use the internal function
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:09:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.0.11
in repository owncloud.
commit f71f0ad2fea5e7344f1e6a0899497f0178243adc
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Sat Jan 19 19:07:16 2013 +0100
Use the internal function
---
apps/gallery/sharing.php | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/apps/gallery/sharing.php b/apps/gallery/sharing.php
index af3e553..d664251 100644
--- a/apps/gallery/sharing.php
+++ b/apps/gallery/sharing.php
@@ -25,8 +25,6 @@ if (!isset($_GET['token']) || empty($_GET['token'])) {
exit;
}
-
-
OCP\App::checkAppEnabled('gallery');
?>
@@ -37,7 +35,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 htmlentities($_GET['token']); ?>';
+ var TOKEN = '<?php echo OC_Util::sanitizeHTML($_GET['token']); ?>';
</script>
</head>
<body>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list