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

Security hints #6188

Closed
thollander opened this issue Apr 12, 2021 · 3 comments · Fixed by #6289
Closed

Security hints #6188

thollander opened this issue Apr 12, 2021 · 3 comments · Fixed by #6289

Comments

@thollander
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Svelte is really helpful for giving hints such as a11y (eg: A11y: '' is not a valid href attribute).
My point here would be to do kind of the same thing with basic security rules.

For instance, one of a security rule would be to not make a target=_blank on a link without the attributes rel="noreferrer noopener".

image

@stale
Copy link

stale bot commented Jul 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale-bot label Jul 11, 2021
@mcmxcdev
Copy link
Contributor

Not stale, also already has PR ready for it.

@stale stale bot removed the stale-bot label Jul 11, 2021
@Conduitry
Copy link
Member

There is now a compile-time warning for this in 3.52.0.

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

Successfully merging a pull request may close this issue.

3 participants