Skip to content

Commit

Permalink
fix(global): Fix more security warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gnovaro committed Feb 9, 2024
1 parent 43f8801 commit 1b08cec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions resources/views/supplier/contact/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
<td>{{ $contact->notes }}</td>
<td>
@if($contact->linkedin)
<a href="{{ $contact->linkedin }}" target="_blank"><i class="lab la-linkedin fs-3"></i></a>
<a href="{{ $contact->linkedin }}" rel="noopener" target="_blank"><i class="lab la-linkedin fs-3"></i></a>
@endif

@if($contact->twitter)
<a href="{{ $contact->twitter }}" target="_blank"><i class="lab la-twitter fs-3"></i></a>
<a href="{{ $contact->twitter }}" rel="noopener" target="_blank"><i class="lab la-twitter fs-3"></i></a>
@endif
</td>
<td class="">{{ ($contact->created_at) ? $contact->created_at->format('d/m/Y H:i') : '' }}</td>
Expand All @@ -67,7 +67,7 @@
class="btn btn-xs btn-warning text-white">
<i class="las la-pen"></i>
</a>
<a href="{{ url('/supplier/contact/export-vcard/'.$contact->id) }}" target="_blank"
<a href="{{ url('/supplier/contact/export-vcard/'.$contact->id) }}" rel="noopener" target="_blank"
data-bs-toggle="tooltip" data-bs-placement="top" data-bs-original-title="{{ __('Download').' vCard' }}"
class="btn btn-xs btn-primary text-white">
<i class="las la-address-card"></i>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/supplier/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</td>
<td>
@if($supplier->website)
<a href="{{ $supplier->website }}" target="_blank">{{ $supplier->website }}</a>
<a href="{{ $supplier->website }}" rel="noopener" target="_blank">{{ $supplier->website }}</a>
@endif
</td>
<td class="text-center d-sm-table-cell" title="{{ !empty($supplier->country) ? $supplier->country->name : '' }}">
Expand Down

0 comments on commit 1b08cec

Please sign in to comment.