diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-21 13:57:18 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-21 13:57:18 +0200 |
commit | 34739b7ec5b5bb26f993704b169937d3f04ed7c7 (patch) | |
tree | 93007cda15d450f33cc92635ee47966021a81bcb /apps | |
parent | 09d2f767276f6054148425966fda89e189d621f0 (diff) | |
download | nextcloud-server-34739b7ec5b5bb26f993704b169937d3f04ed7c7.tar.gz nextcloud-server-34739b7ec5b5bb26f993704b169937d3f04ed7c7.zip |
use new sanitizeHTML() function
Diffstat (limited to 'apps')
-rw-r--r-- | apps/bookmarks/templates/list.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php index fdd2b19f79a..1ed79264d0d 100644 --- a/apps/bookmarks/templates/list.php +++ b/apps/bookmarks/templates/list.php @@ -7,7 +7,7 @@ * See the COPYING-README file. */ ?> -<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag'],ENT_COMPAT,'utf-8'); ?>" /> +<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo OCP\Util::sanitizeHTML($_GET['tag']); ?>" /> <div id="controls"> <input type="hidden" id="bookmark_add_id" value="0" /> <input type="text" id="bookmark_add_url" placeholder="<?php echo $l->t('Address'); ?>" class="bookmarks_input" /> |