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

fix: reverse tabnabbing vulnerability in URLs #591

Merged
merged 4 commits into from Dec 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/istanbul-reports/lib/html-spa/src/index.js
Expand Up @@ -144,7 +144,11 @@ function App() {
</div>
<div className="layout__section center small quiet">
Code coverage generated by{' '}
<a href="https://istanbul.js.org/" target="_blank">
<a
href="https://istanbul.js.org/"
target="_blank"
rel="noopener noreferrer"
>
istanbul
</a>{' '}
at {window.generatedDatetime}
Expand Down
2 changes: 1 addition & 1 deletion packages/istanbul-reports/lib/html/index.js
Expand Up @@ -100,7 +100,7 @@ function footerTemplate(details) {
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at ${html.escape(details.datetime)}
</div>
<script src="${html.escape(details.prettify.js)}"></script>
Expand Down