aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-10-10 18:22:31 -0700
committerSteve Clay <steve@mrclay.org>2012-10-10 18:22:31 -0700
commitd134beadb79fcc90a75bda8bbcbfb9987b27470c (patch)
tree3228eb49db250d8d1a5a0b36eb58c7051b4d8bbb /mod/bookmarks
parentec68ded7bc64e64d27f9c78efdfa6a7d3d25d14e (diff)
parent5efa9426d40326b8d31c152dd2a433076b490308 (diff)
downloadelgg-d134beadb79fcc90a75bda8bbcbfb9987b27470c.tar.gz
elgg-d134beadb79fcc90a75bda8bbcbfb9987b27470c.tar.bz2
Merge pull request #381 from mrclay/4593-plaintext-titles
Fixes #4593: All titles are HTML-escaped plain text
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/actions/bookmarks/save.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bookmarks/actions/bookmarks/save.php b/mod/bookmarks/actions/bookmarks/save.php
index 3ca6bef32..46090b115 100644
--- a/mod/bookmarks/actions/bookmarks/save.php
+++ b/mod/bookmarks/actions/bookmarks/save.php
@@ -5,7 +5,7 @@
* @package Bookmarks
*/
-$title = strip_tags(get_input('title'));
+$title = htmlspecialchars(get_input('title', '', false), ENT_QUOTES, 'UTF-8');
$description = get_input('description');
$address = get_input('address');
$access_id = get_input('access_id');