Fixing XSS vulnerability by using the proper output tags

This commit is contained in:
Nabeel Shahzad
2018-03-12 17:58:12 -05:00
parent 17f9464208
commit 8076c2d8c1
165 changed files with 1187 additions and 1187 deletions

View File

@@ -3,7 +3,7 @@
@section('title', 'Sample')
@section('actions')
<li>
<a href="{!! url('/admin/sample/create') !!}">
<a href="{{ url('/admin/sample/create') }}">
<i class="ti-plus"></i>
Add New</a>
</li>
@@ -12,7 +12,7 @@
<div class="card border-blue-bottom">
<div class="content">
<div class="header"><h4 class="title">Admin Scaffold!</h4></div>
<p>This view is loaded from module: {!! config('sample.name') !!}</p>
<p>This view is loaded from module: {{ config('sample.name') }}</p>
</div>
</div>
@endsection

View File

@@ -4,6 +4,6 @@
<h1>Hello World</h1>
<p>
This view is loaded from module: {!! config('sample.name') !!}
This view is loaded from module: {{ config('sample.name') }}
</p>
@endsection