diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 14:38:03 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 14:38:03 +0100 |
commit | 9a30055aae1f64201b45a1a052e98471f3d99094 (patch) | |
tree | b646a60c226a7ee1cdf1395b70ecd59536148b8b /mod/follow.php | |
parent | 61f0a0d9034bead3594b9fb02a1c381a4c3c36aa (diff) | |
parent | d347026094c624320884697358fa6b2272ee5aca (diff) | |
download | volse-hubzilla-9a30055aae1f64201b45a1a052e98471f3d99094.tar.gz volse-hubzilla-9a30055aae1f64201b45a1a052e98471f3d99094.tar.bz2 volse-hubzilla-9a30055aae1f64201b45a1a052e98471f3d99094.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/follow.php')
-rw-r--r-- | mod/follow.php | 6 |
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 } |