diff options
| author | Mark Felder <feld@FreeBSD.org> | 2020-06-11 10:25:00 -0500 | 
|---|---|---|
| committer | Mark Felder <feld@FreeBSD.org> | 2020-06-11 10:25:00 -0500 | 
| commit | 8a59fde0e57afebfc07c147d070e66bf9c8db6a9 (patch) | |
| tree | 7a2f194d5f0afabaed1f1cc5adda7c2078336979 /test/fixtures | |
| parent | 99afc7f4e423997079aaee1287b9ffb28a851d8b (diff) | |
| parent | 5d6ec6e5fc9b00d367568dd111816b90cddad02b (diff) | |
| download | pleroma-8a59fde0e57afebfc07c147d070e66bf9c8db6a9.tar.gz pleroma-8a59fde0e57afebfc07c147d070e66bf9c8db6a9.zip | |
Merge branch 'develop' into fix/csp-mediaproxy-base-url
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/create-chat-message.json | 31 | 
1 files changed, 31 insertions, 0 deletions
| diff --git a/test/fixtures/create-chat-message.json b/test/fixtures/create-chat-message.json new file mode 100644 index 000000000..9c23a1c9b --- /dev/null +++ b/test/fixtures/create-chat-message.json @@ -0,0 +1,31 @@ +{ +  "actor": "http://2hu.gensokyo/users/raymoo", +  "id": "http://2hu.gensokyo/objects/1", +  "object": { +    "attributedTo": "http://2hu.gensokyo/users/raymoo", +    "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": [ +      "http://2hu.gensokyo/users/marisa" +    ], +    "tag": [ +      { +        "icon": { +          "type": "Image", +          "url": "http://2hu.gensokyo/emoji/Firefox.gif" +        }, +        "id": "http://2hu.gensokyo/emoji/Firefox.gif", +        "name": ":firefox:", +        "type": "Emoji", +        "updated": "1970-01-01T00:00:00Z" +      } +    ], +    "type": "ChatMessage" +  }, +  "published": "2018-02-12T14:08:20Z", +  "to": [ +    "http://2hu.gensokyo/users/marisa" +  ], +  "type": "Create" +} | 
