aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-12 02:15:02 -0800
committerfriendica <info@friendica.com>2013-12-12 02:15:02 -0800
commit303324cdff3f7c8bc83fae89256a2133939944b2 (patch)
treef6065af47bd6eaf35a8c220f5c082fec0fd49517 /include/conversation.php
parent941f81eb300074b203dd480924f9cf8b9d41a08d (diff)
downloadvolse-hubzilla-303324cdff3f7c8bc83fae89256a2133939944b2.tar.gz
volse-hubzilla-303324cdff3f7c8bc83fae89256a2133939944b2.tar.bz2
volse-hubzilla-303324cdff3f7c8bc83fae89256a2133939944b2.zip
more htmlspecialchars sanitisation
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index f5fc9da93..29fb8a163 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1108,7 +1108,7 @@ function status_editor($a,$x,$popup=false) {
'$shortsetloc' => t('set location'),
'$noloc' => t('Clear browser location'),
'$shortnoloc' => t('clear location'),
- '$title' => ((x($x,'title')) ? htmlspecialchars($x['title']) : ''),
+ '$title' => ((x($x,'title')) ? htmlspecialchars($x['title'], ENT_COMPAT,'UTF-8') : ''),
'$placeholdertitle' => t('Set title'),
'$catsenabled' => ((feature_enabled($x['profile_uid'],'categories') && (! $webpage)) ? 'categories' : ''),
'$category' => "",
@@ -1117,7 +1117,7 @@ function status_editor($a,$x,$popup=false) {
'$permset' => t('Permission settings'),
'$shortpermset' => t('permissions'),
'$ptyp' => (($notes_cid) ? 'note' : 'wall'),
- '$content' => ((x($x,'body')) ? htmlspecialchars($x['body']) : ''),
+ '$content' => ((x($x,'body')) ? htmlspecialchars($x['body'], ENT_COMPAT,'UTF-8') : ''),
'$post_id' => '',
'$baseurl' => $a->get_baseurl(true),
'$defloc' => $x['default_location'],