diff options
author | friendica <info@friendica.com> | 2013-12-12 02:01:42 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-12 02:01:42 -0800 |
commit | 941f81eb300074b203dd480924f9cf8b9d41a08d (patch) | |
tree | 0492f70620c1ed2001153632b95fa976bbe967fd /mod/network.php | |
parent | b3fe221b7fe9c6ecc151d9c00f36d3913526f6a3 (diff) | |
download | volse-hubzilla-941f81eb300074b203dd480924f9cf8b9d41a08d.tar.gz volse-hubzilla-941f81eb300074b203dd480924f9cf8b9d41a08d.tar.bz2 volse-hubzilla-941f81eb300074b203dd480924f9cf8b9d41a08d.zip |
check that every invocation of htmlspecialchars has the right arg list
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index 1da5524c9..072f718ec 100644 --- a/mod/network.php +++ b/mod/network.php @@ -115,7 +115,7 @@ function network_content(&$a, $update = 0, $load = false) { // search terms header if($search) - $o .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '</h2>'; + $o .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search, ENT_COMPAT,'UTF-8') . '</h2>'; nav_set_selected('network'); |