aboutsummaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/templates/list.php
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vitty@altlinux.ru>2012-05-10 09:10:53 +0000
committerVitaly Kuznetsov <vitty@altlinux.ru>2012-05-10 09:10:53 +0000
commit6f981738bb5285d01e839ff640c163acf1b2a184 (patch)
tree47040a95a2597de34784151dfaec334b2e034923 /apps/bookmarks/templates/list.php
parenta9d7c67bf2e906fceea40b41f4780e623226fdff (diff)
downloadnextcloud-server-6f981738bb5285d01e839ff640c163acf1b2a184.tar.gz
nextcloud-server-6f981738bb5285d01e839ff640c163acf1b2a184.zip
Fix some non-utf8-friendly htmlentities (resulting in wrong display of utf8-encoded directory names for example)
Diffstat (limited to 'apps/bookmarks/templates/list.php')
-rw-r--r--apps/bookmarks/templates/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php
index ced6154c198..d28909e1959 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']); ?>" />
+<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag'],ENT_COMPAT | ENT_HTML401,'utf-8'); ?>" />
<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" />