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

@@ -2,10 +2,10 @@
@section('content')
<section class="content-header">
<h1 class="pull-left">{!! $flight->airline->code !!}{!! $flight->flight_number !!}</h1>
<h1 class="pull-left">{{ $flight->airline->code }}{{ $flight->flight_number }}</h1>
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px"
href="{!! route('admin.flights.edit', $flight->id) !!}">Edit</a>
href="{{ route('admin.flights.edit', $flight->id) }}">Edit</a>
</h1>
</section>
<section class="content">