mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-06 02:09:33 +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 @@
|
|||
<a href="{{ order.supplier | entityURL('list_parts') }}">{{ order.supplier.name }}</a>
|
||||
</td>
|
||||
<td>{% if order.supplierProductUrl is not empty %}
|
||||
<a href="{{ order.supplierProductUrl }}" target="_blank" class="link-external">{{ order.supplierPartNr }}</a>
|
||||
<a href="{{ order.supplierProductUrl }}" rel="noopener" target="_blank" class="link-external">{{ order.supplierPartNr }}</a>
|
||||
{% else %}
|
||||
{{ order.supplierPartNr }}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue