diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-11-13 17:20:21 -0500 |
---|---|---|
committer | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2018-11-13 17:20:21 -0500 |
commit | 35e66770be6ca93c9090cdab221e6c33a410a569 (patch) | |
tree | 460c446d6ce5dd0fbd79e780556774d3312cdfd5 /include/text.php | |
parent | adf4782076121ee38e1f2f2cc9a7b90c1d8db024 (diff) | |
download | volse-hubzilla-35e66770be6ca93c9090cdab221e6c33a410a569.tar.gz volse-hubzilla-35e66770be6ca93c9090cdab221e6c33a410a569.tar.bz2 volse-hubzilla-35e66770be6ca93c9090cdab221e6c33a410a569.zip |
Filter search box before display
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 076c98407..da18080dd 100644 --- a/include/text.php +++ b/include/text.php @@ -1075,7 +1075,7 @@ function micropro($contact, $redirect = false, $class = '', $mode = false) { function search($s,$id='search-box',$url='/search',$save = false) { return replace_macros(get_markup_template('searchbox.tpl'),array( - '$s' => $s, + '$s' => htmlspecialchars($s), '$id' => $id, '$action_url' => z_root() . $url, '$search_label' => t('Search'), |