aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-01 22:43:16 -0700
committerfriendica <info@friendica.com>2014-07-01 22:43:16 -0700
commitc7437a9259dd293f21dd2687c96759c617ebdf88 (patch)
treee6069faae6b913b2081f34c1adc3fbfa4f74cafd
parent7a082394c3d8451c27d408eebe02eacb5449174f (diff)
downloadvolse-hubzilla-c7437a9259dd293f21dd2687c96759c617ebdf88.tar.gz
volse-hubzilla-c7437a9259dd293f21dd2687c96759c617ebdf88.tar.bz2
volse-hubzilla-c7437a9259dd293f21dd2687c96759c617ebdf88.zip
use a better hashtag replacement when preventing tag hijacking
-rw-r--r--mod/tagger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/tagger.php b/mod/tagger.php
index 3d8043f68..bfda114d2 100644
--- a/mod/tagger.php
+++ b/mod/tagger.php
@@ -98,9 +98,9 @@ function tagger_content(&$a) {
$bodyverb = t('%1$s tagged %2$s\'s %3$s with %4$s');
// saving here for reference
- // also check out x22d5 and x0d6b and x0db8 and x24d0 and xff20 !!!
+ // also check out x22d5 and x2317 and x0d6b and x0db8 and x24d0 and xff20 !!!
- $termlink = html_entity_decode('&#x2317;') . '[zrl=' . $a->get_baseurl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/zrl]';
+ $termlink = html_entity_decode('&#x22d5;') . '[zrl=' . $a->get_baseurl() . '/search?tag=' . urlencode($term) . ']'. $term . '[/zrl]';
$channel = $a->get_channel();