Verified Commit 1abf4357 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

packages: remove onclick handler

The onclick handler is a CSP violator since no JavaScript is allowed to
be executed without a nounce. The inline script has been replaced with a

Closes: #202

Signed-off-by: Jelle van der Waa's avatarJelle van der Waa <>
parent 6507d02c
......@@ -34,8 +34,8 @@ <h4>Package Actions</h4>
<li><a href="flag/" title="Flag {{ pkg.pkgname }} as out-of-date">Flag Package Out-of-Date</a>
<a href="/packages/flaghelp/"
title="Get help on package flagging"
onclick="return !'/packages/flaghelp/','FlagHelp',
{% endif %}
<li><a href="download/" rel="nofollow" title="Download {{ pkg.pkgname }} from mirror">Download From Mirror</a></li>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment