ChatMessages: Better validation.

This commit is contained in:
lain 2020-04-16 15:21:47 +02:00
commit e2ced04917
8 changed files with 128 additions and 6 deletions

View file

@ -3,7 +3,7 @@
"id": "http://2hu.gensokyo/objects/1",
"object": {
"attributedTo": "http://2hu.gensokyo/users/raymoo",
"content": "You expected a cute girl? Too bad.",
"content": "You expected a cute girl? Too bad. <script>alert('XSS')</script>",
"id": "http://2hu.gensokyo/objects/2",
"published": "2020-02-12T14:08:20Z",
"to": [