Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matrix-org/usercontent
Render user generated content with a different origin to the main application.
https://github.com/matrix-org/usercontent
Last synced: 3 months ago
JSON representation
Render user generated content with a different origin to the main application.
- Host: GitHub
- URL: https://github.com/matrix-org/usercontent
- Owner: matrix-org
- Archived: true
- Created: 2016-11-17T12:01:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-09T21:29:41.000Z (over 1 year ago)
- Last Synced: 2024-08-01T12:28:09.313Z (6 months ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 4
- Watchers: 30
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - matrix-org/usercontent - Render user generated content with a different origin to the main application. (others)
README
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.