double url encode diaspora communications
This commit is contained in:
parent
4cef4ec918
commit
395faae0b2
3 changed files with 17 additions and 9 deletions
|
@ -15,6 +15,8 @@ function receive_post(&$a) {
|
|||
if($a->argc != 3 || $a->argv[1] !== 'users')
|
||||
http_status_exit(500);
|
||||
|
||||
logger('receive: raw input: ' . file_get_contents('php://input'), LOGGER_DATA);
|
||||
|
||||
$guid = $a->argv[2];
|
||||
|
||||
$r = q("SELECT * FROM `user` WHERE `guid` = '%s' LIMIT 1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue