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,40 +1,40 @@
<!-- Code Field -->
<div class="form-group">
{!! Form::label('icao', 'ICAO:') !!}
<p>{!! $airlines->icao !!}</p>
{{ Form::label('icao', 'ICAO:') }}
<p>{{ $airlines->icao }}</p>
</div>
<div class="form-group">
{!! Form::label('iata', 'IATA:') !!}
<p>{!! $airlines->iata !!}</p>
{{ Form::label('iata', 'IATA:') }}
<p>{{ $airlines->iata }}</p>
</div>
<!-- Name Field -->
<div class="form-group">
{!! Form::label('name', 'Name:') !!}
<p>{!! $airlines->name !!}</p>
{{ Form::label('name', 'Name:') }}
<p>{{ $airlines->name }}</p>
</div>
<div class="form-group">
{!! Form::label('logo', 'Logo URL:') !!}
<p>{!! $airlines->logo !!}</p>
{{ Form::label('logo', 'Logo URL:') }}
<p>{{ $airlines->logo }}</p>
</div>
<!-- Active Field -->
<div class="form-group">
{!! Form::label('active', 'Active:') !!}
<p>{!! $airlines->active !!}</p>
{{ Form::label('active', 'Active:') }}
<p>{{ $airlines->active }}</p>
</div>
<!-- Created At Field -->
<div class="form-group">
{!! Form::label('created_at', 'Created At:') !!}
<p>{!! show_datetime($airlines->created_at) !!}</p>
{{ Form::label('created_at', 'Created At:') }}
<p>{{ show_datetime($airlines->created_at) }}</p>
</div>
<!-- Updated At Field -->
<div class="form-group">
{!! Form::label('updated_at', 'Updated At:') !!}
<p>{!! show_datetime($airlines->updated_at) !!}</p>
{{ Form::label('updated_at', 'Updated At:') }}
<p>{{ show_datetime($airlines->updated_at) }}</p>
</div>