aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-29 15:19:16 -0800
committerfriendica <info@friendica.com>2015-01-29 15:19:16 -0800
commitd7dae3c72a5d22cd29d4ba8cfd18e7139ede09ff (patch)
treebad34a3b7174a81f5b479c6653da39344f8df0fe /mod
parente2edc2c96841588ade355890c49ff7a3c900078d (diff)
parent1ec6e62ed34ed8665da188f8a8427bf470bcc02e (diff)
downloadvolse-hubzilla-d7dae3c72a5d22cd29d4ba8cfd18e7139ede09ff.tar.gz
volse-hubzilla-d7dae3c72a5d22cd29d4ba8cfd18e7139ede09ff.tar.bz2
volse-hubzilla-d7dae3c72a5d22cd29d4ba8cfd18e7139ede09ff.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod')
-rw-r--r--mod/tagger.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index a93609c3c..aafad58cf 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -12,11 +12,9 @@ function tagger_content(&$a) {
}
$observer_hash = get_observer_hash();
-
+ //strip html-tags
$term = notags(trim($_GET['term']));
- // no commas allowed
- $term = str_replace(array(',',' '),array('','_'),$term);
-
+ //check if empty
if(! $term)
return;