mirror of
https://github.com/matrix-org/usercontent.git
synced 2026-11-14 23:55:03 +00:00
Render user generated content with a different origin to the main application.
- HTML 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| README.md | ||
| v1.html | ||
UserContent
A way to render user generated content with a different origin to the main application. This can be used to avoid XSS attacks.
This is used by Riot to display the download button for encrypted attachments in end-to-end encrypted chats. See https://github.com/vector-im/riot-web/blob/master/README.md#configjson for instructions on how to host your own version of this.
This is not an ideal solution for Riot: see https://github.com/vector-im/riot-web/issues/6173 for status on replacing this with something else.