Render user generated content with a different origin to the main application.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2018-04-26 10:11:39 +01:00
README.md Clarify readme & link to bug 2018-04-24 21:03:30 +01:00
v1.html Get variable name right 2018-04-26 10:11:39 +01:00

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.