aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDM42.Net (Matt Dent) <dentm42@dm42.net>2018-11-13 23:06:00 -0500
committerDM42.Net (Matt Dent) <dentm42@dm42.net>2018-11-13 23:06:00 -0500
commitf1d168f781fc14e55b85b6e0a4e214d18f2ec969 (patch)
tree8692ecd8a60d6a2e1d8a6156e5c89899dc8d171e
parent302d9796c47972c04f4cc2fc4417402eb2fb7444 (diff)
downloadvolse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.tar.gz
volse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.tar.bz2
volse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.zip
Fix double escaping after xss fix
-rw-r--r--Zotlabs/Module/Search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index 272bbdac1..838f9d6b9 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -227,9 +227,9 @@ class Search extends \Zotlabs\Web\Controller {
}
if($tag)
- $o .= '<h2>' . sprintf( t('Items tagged with: %s'),htmlspecialchars($search, ENT_COMPAT,'UTF-8')) . '</h2>';
+ $o .= '<h2>' . sprintf( t('Items tagged with: %s'),$search) . '</h2>';
else
- $o .= '<h2>' . sprintf( t('Search results for: %s'),htmlspecialchars($search, ENT_COMPAT,'UTF-8')) . '</h2>';
+ $o .= '<h2>' . sprintf( t('Search results for: %s'),$search) . '</h2>';
$o .= conversation($items,'search',$update,'client');