aboutsummaryrefslogtreecommitdiffstats
path: root/mod/search.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-20 17:09:11 -0700
committerfriendica <info@friendica.com>2013-06-20 17:09:11 -0700
commitdd9d32bcb3dc8ab8a4cf0c9658f01dfba24f7db4 (patch)
tree638809b32d01e1f4df5f16e6f08de448e643c76d /mod/search.php
parent95d7514633e806984c1589e2ac4165c9dc5e5435 (diff)
downloadvolse-hubzilla-dd9d32bcb3dc8ab8a4cf0c9658f01dfba24f7db4.tar.gz
volse-hubzilla-dd9d32bcb3dc8ab8a4cf0c9658f01dfba24f7db4.tar.bz2
volse-hubzilla-dd9d32bcb3dc8ab8a4cf0c9658f01dfba24f7db4.zip
make tag searches work at least as well as the normal search - which still is quite broken, but at least return some results without introducing too many security holes
Diffstat (limited to 'mod/search.php')
-rw-r--r--mod/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search.php b/mod/search.php
index 3129e84b4..02a845826 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -171,7 +171,7 @@ function search_content(&$a,$update = 0, $load = false) {
'$nouveau' => '0',
'$wall' => '0',
'$page' => (($a->pager['page'] != 1) ? $a->pager['page'] : 1),
- '$search' => (($tag) ? '#' : '') . $search,
+ '$search' => (($tag) ? urlencode('#') : '') . $search,
'$order' => '',
'$file' => '',
'$cats' => '',