From: Nickolas Gupton Date: Mon, 24 May 2021 20:17:08 +0000 (-0400) Subject: Fixes minor vulnerability when using target="_blank" on links (RSPEC-5148) X-Git-Tag: v21.05~1^2~17^2^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/refs/pull/2768/head?ds=inline Fixes minor vulnerability when using target="_blank" on links (RSPEC-5148) --- diff --git a/resources/views/api-docs/index.blade.php b/resources/views/api-docs/index.blade.php index d9c3d6595..56f7135c3 100644 --- a/resources/views/api-docs/index.blade.php +++ b/resources/views/api-docs/index.blade.php @@ -190,7 +190,7 @@
{{ $endpoint['method'] }} @if($endpoint['controller_method_kebab'] === 'list') - {{ url($endpoint['uri']) }} + {{ url($endpoint['uri']) }} @else {{ url($endpoint['uri']) }} @endif diff --git a/resources/views/attachments/manager-list.blade.php b/resources/views/attachments/manager-list.blade.php index 313faa575..b48fde9c0 100644 --- a/resources/views/attachments/manager-list.blade.php +++ b/resources/views/attachments/manager-list.blade.php @@ -7,7 +7,7 @@ class="card drag-card">
@icon('grip')