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,30 +1,30 @@
<!-- Id Field -->
<div class="form-group">
{!! Form::label('id', 'Id:') !!}
<p>{!! $field->id !!}</p>
{{ Form::label('id', 'Id:') }}
<p>{{ $field->id }}</p>
</div>
<!-- Name Field -->
<div class="form-group">
{!! Form::label('name', 'Name:') !!}
<p>{!! $field->name !!}</p>
{{ Form::label('name', 'Name:') }}
<p>{{ $field->name }}</p>
</div>
<!-- Required Field -->
<div class="form-group">
{!! Form::label('required', 'Required:') !!}
<p>{!! $field->required !!}</p>
{{ Form::label('required', 'Required:') }}
<p>{{ $field->required }}</p>
</div>
<!-- Created At Field -->
<div class="form-group">
{!! Form::label('created_at', 'Created At:') !!}
<p>{!! show_datetime($field->created_at) !!}</p>
{{ Form::label('created_at', 'Created At:') }}
<p>{{ show_datetime($field->created_at) }}</p>
</div>
<!-- Updated At Field -->
<div class="form-group">
{!! Form::label('updated_at', 'Updated At:') !!}
<p>{!! show_datetime($field->updated_at) !!}</p>
{{ Form::label('updated_at', 'Updated At:') }}
<p>{{ show_datetime($field->updated_at) }}</p>
</div>