aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2018-11-14 03:21:32 +0100
committerM. Dent <dentm42@gmail.com>2018-11-14 03:21:32 +0100
commit1260887fa743a4e5522dea366f0a584430b0a9a0 (patch)
treeb83ae37bce8e92bb2b47b9a30b6ddcaf764d0537 /include
parentadf4782076121ee38e1f2f2cc9a7b90c1d8db024 (diff)
parentce8073d25eeddd212276656cc2d5c1df9474223e (diff)
downloadvolse-hubzilla-1260887fa743a4e5522dea366f0a584430b0a9a0.tar.gz
volse-hubzilla-1260887fa743a4e5522dea366f0a584430b0a9a0.tar.bz2
volse-hubzilla-1260887fa743a4e5522dea366f0a584430b0a9a0.zip
Merge branch 'patch-20181113a' into 'dev'
Patch 20181113a See merge request hubzilla/core!1394
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
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'),