mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:50:15 +00:00
don't urlencode $_GET vars
This commit is contained in:
parent
c574e4c587
commit
d347026094
2 changed files with 9 additions and 5 deletions
|
@ -590,8 +590,12 @@ function dfrn_request_content(&$a) {
|
|||
$myaddr = $a->user['nickname'] . '@' . substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3 );
|
||||
}
|
||||
}
|
||||
else {
|
||||
$myaddr = ((x($_GET,'address')) ? urldecode($_GET['address']) : '');
|
||||
elseif($x($_GET,'addr')) {
|
||||
$myaddr = hex2bin($_GET['addr']);
|
||||
}
|
||||
else {
|
||||
/* $_GET variables are already urldecoded */
|
||||
$myaddr = ((x($_GET,'address')) ? $_GET['address'] : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue