aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-21 05:21:13 -0800
committerFriendika <info@friendika.com>2011-01-21 05:21:13 -0800
commitd347026094c624320884697358fa6b2272ee5aca (patch)
treee04096ad85b6000025bd18b15aff34464dba52fc /mod/follow.php
parentc574e4c5879312f57db43436044285de56026f0b (diff)
downloadvolse-hubzilla-d347026094c624320884697358fa6b2272ee5aca.tar.gz
volse-hubzilla-d347026094c624320884697358fa6b2272ee5aca.tar.bz2
volse-hubzilla-d347026094c624320884697358fa6b2272ee5aca.zip
don't urlencode $_GET vars
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 3c9d77657..14bdb9fc6 100644
--- a/mod/follow.php
+++ b/mod/follow.php
@@ -38,11 +38,11 @@ function follow_post(&$a) {
$ret = scrape_dfrn($dfrn);
if(is_array($ret) && x($ret,'dfrn-request')) {
if(strlen($a->path))
- $myaddr = urlencode($a->get_baseurl() . '/profile/' . $a->user['nickname']);
+ $myaddr = bin2hex($a->get_baseurl() . '/profile/' . $a->user['nickname']);
else
- $myaddr = urlencode($a->user['nickname'] . '@' . $a->get_hostname());
+ $myaddr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname());
- goaway($ret['dfrn-request'] . "&address=$myaddr");
+ goaway($ret['dfrn-request'] . "&addr=$myaddr");
// NOTREACHED
}