mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-17 15:49:34 +00:00
Added rel=noopener to target=_blank links to prevent window.opener spoof.
This commit is contained in:
parent
7a5a2f65f9
commit
9b481323aa
7 changed files with 10 additions and 10 deletions
|
|
@ -15,7 +15,7 @@
|
|||
{% endif %}
|
||||
{% if part.manufacturerProductUrl %}
|
||||
<small>
|
||||
<a class="link-external" href="{{ part.manufacturerProductUrl }}" target="_blank">{{ part.manufacturerProductNumber }}</a>
|
||||
<a class="link-external" href="{{ part.manufacturerProductUrl }}" rel="noopener" target="_blank">{{ part.manufacturerProductNumber }}</a>
|
||||
</small>
|
||||
{% else %}
|
||||
<small>{{ part.manufacturerProductNumber }}</small>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue