Beginning of OStatus support, various bug fixes

This commit is contained in:
Diogo Cordeiro
2018-08-06 08:09:25 +01:00
parent edc62d4cb0
commit 287ebeb521
6 changed files with 55 additions and 47 deletions

View File

@@ -103,7 +103,7 @@ class Activitypub_inbox_handler
case 'Like':
case 'Announce':
if (!filter_var($this->object, FILTER_VALIDATE_URL)) {
throw new Exception("Object is not a valid Object URI for Activity.");
throw new Exception('Object is not a valid Object URI for Activity.');
}
break;
case 'Undo':