The Wayback Machine - https://web.archive.org/web/20201123102326/https://github.com/thymeleaf/thymeleaf/issues/770
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 suggestion: cross-site links with a target="_blank" should be protected #770

Open
Sven-WEBDESIGN opened this issue Nov 12, 2019 · 1 comment

Comments

@Sven-WEBDESIGN
Copy link

@Sven-WEBDESIGN Sven-WEBDESIGN commented Nov 12, 2019

Hello,

Suggestion: cross-sites links with a target="_blank" property/value pair should declare a rel="noopener" or rel="noreferrer" property by default, which you can override by passing a th:rel="{myIntendedOverrideValue}"

Rationale: Security, performance, privacy, see: https://developers.google.com/web/tools/lighthouse/audits/noopener?utm_source=lighthouse&utm_medium=devtools

@Sven-WEBDESIGN Sven-WEBDESIGN changed the title Secutiry suggestion: cross-site links with a target="_blanck" should be protected Security suggestion: cross-site links with a target="_blanck" should be protected Nov 12, 2019
@Sven-WEBDESIGN Sven-WEBDESIGN changed the title Security suggestion: cross-site links with a target="_blanck" should be protected Security suggestion: cross-site links with a target="_blank" should be protected Nov 14, 2019
@wwwqyhme
Copy link

@wwwqyhme wwwqyhme commented Dec 6, 2019

I don't think this is template engine's job

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.