Skip to content

Commit

Permalink
fix: remove potentially unsafe external link (#2410)
Browse files Browse the repository at this point in the history
  • Loading branch information
iennae authored Mar 8, 2024
1 parent 3d2f47e commit 000ac1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/templates/ad.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="container py-3 px-lg-5 py-lg-5">
<div role="alert">
<strong>Ad</strong>
<a href="{{.RedirectUrl}}" rel="nofollow" target="_blank">
<a href="{{.RedirectUrl}}" rel="nofollow noopener noreferrer" target="_blank">
{{.Text}}
</a>
</div>
Expand Down

0 comments on commit 000ac1b

Please sign in to comment.