double url encode diaspora communications

This commit is contained in:
Friendika
2011-08-19 02:24:30 -07:00
parent 4cef4ec918
commit 395faae0b2
3 changed files with 17 additions and 9 deletions

View File

@@ -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",