diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-11-13 23:06:00 -0500 |
---|---|---|
committer | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-11-13 23:06:00 -0500 |
commit | f1d168f781fc14e55b85b6e0a4e214d18f2ec969 (patch) | |
tree | 8692ecd8a60d6a2e1d8a6156e5c89899dc8d171e /Zotlabs/Module/Search.php | |
parent | 302d9796c47972c04f4cc2fc4417402eb2fb7444 (diff) | |
download | volse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.tar.gz volse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.tar.bz2 volse-hubzilla-f1d168f781fc14e55b85b6e0a4e214d18f2ec969.zip |
Fix double escaping after xss fix
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r-- | Zotlabs/Module/Search.php | 4 |
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'); |