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

@@ -1,31 +1,31 @@
<!-- Id Field -->
<!-- Airline Id Field -->
<div class="form-group">
{!! Form::label('airline_id', 'Airline Id:') !!}
<p>{!! $subfleet->airline->name !!}</p>
{{ Form::label('airline_id', 'Airline Id:') }}
<p>{{ $subfleet->airline->name }}</p>
</div>
<!-- Name Field -->
<div class="form-group">
{!! Form::label('name', 'Name:') !!}
<p>{!! $subfleet->name !!}</p>
{{ Form::label('name', 'Name:') }}
<p>{{ $subfleet->name }}</p>
</div>
<!-- Type Field -->
<div class="form-group">
{!! Form::label('type', 'Type:') !!}
<p>{!! $subfleet->type !!}</p>
{{ Form::label('type', 'Type:') }}
<p>{{ $subfleet->type }}</p>
</div>
<!-- Created At Field -->
<div class="form-group">
{!! Form::label('created_at', 'Created At:') !!}
<p>{!! show_datetime($subfleet->created_at) !!}</p>
{{ Form::label('created_at', 'Created At:') }}
<p>{{ show_datetime($subfleet->created_at) }}</p>
</div>
<!-- Updated At Field -->
<div class="form-group">
{!! Form::label('updated_at', 'Updated At:') !!}
<p>{!! show_datetime($subfleet->updated_at) !!}</p>
{{ Form::label('updated_at', 'Updated At:') }}
<p>{{ show_datetime($subfleet->updated_at) }}</p>
</div>