Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Support user-generated-content #13

Open
3 tasks
fredemmott opened this issue Aug 27, 2020 · 2 comments
Open
3 tasks

Support user-generated-content #13

fredemmott opened this issue Aug 27, 2020 · 2 comments
Assignees

Comments

@fredemmott
Copy link
Contributor

  • provide a way to whitelist URI schemes; for example, http, https, mailto, irc are likely fine, javascript is not. This should affect links, link reference definitions, and autolinks
  • provide a way to specify rel="nofollow ugc" on all links, with no way to override from markdown content
  • provide a way to to filter images (to avoid injecting example.com/trackme.gif); for example:
    • whitelist domains
    • switch them to a privacy-preserving proxy (which would need to avoid open proxy issues)
    • these should not be explicitly supported - instead a general mechanism should be implemented to allow people to implement whatever fits their needs the best
@atielking
Copy link
Contributor

WIP from me!

@fredemmott
Copy link
Contributor Author

A large part of this is now merged in - I need to dig through to see how much of " provide a way to to filter images (to avoid injecting example.com/trackme.gif)" is practical now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants