From dd9d32bcb3dc8ab8a4cf0c9658f01dfba24f7db4 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 20 Jun 2013 17:09:11 -0700 Subject: 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 --- mod/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' => '', -- cgit v1.2.3