diff options
Diffstat (limited to 'lib/Model/ActivityPub/ACore.php')
-rw-r--r-- | lib/Model/ActivityPub/ACore.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Model/ActivityPub/ACore.php b/lib/Model/ActivityPub/ACore.php index a71a3579..a3be9fd1 100644 --- a/lib/Model/ActivityPub/ACore.php +++ b/lib/Model/ActivityPub/ACore.php @@ -413,6 +413,16 @@ abstract class ACore extends Item implements JsonSerializable { return $value; + case self::AS_USERNAME: + $value = strip_tags($value); + + return $value; + + case self::AS_ACCOUNT: + $value = strip_tags($value); + + return $value; + default: break; } |