Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify users of clicking a link in UGC that looks like a URL but links somewhere different #363

Open
luxaritas opened this issue Nov 6, 2023 · 0 comments
Labels
priority: p2/important ⚠️ A large number of users have a significant pain point or a significant use case is prevented size: md type: enhancement New feature or request

Comments

@luxaritas
Copy link
Member

Describe your idea

When clicking on a link in user-generated markup, if the display text is formatted by a URL but that text does not match the underlying URL, the user should be notified of the mismatch (with the option to either cancel or continue to the link)

Motivation

Eg, if a link leads to google.com but the link text is eternagame.org, this could be used to intentionally mislead users.

Proposed Solution

We should be able to implement this via dompurify

Other Information

No response

@luxaritas luxaritas added type: enhancement New feature or request size: md priority: p2/important ⚠️ A large number of users have a significant pain point or a significant use case is prevented labels Nov 6, 2023
@luxaritas luxaritas added this to Roadmap Nov 6, 2023
@github-project-automation github-project-automation bot moved this to Todo in Roadmap Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2/important ⚠️ A large number of users have a significant pain point or a significant use case is prevented size: md type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant