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,9 +1,9 @@
@component('mail::message')
A new user has signed up!
Name: {!! $user->name !!}!
Email: {!! $user->email !!}
State: {!! UserState::label($user->state) !!}
Name: {{ $user->name }}!
Email: {{ $user->email }}
State: {{ UserState::label($user->state) }}
{{ config('app.name') }}
@endcomponent

View File

@@ -2,8 +2,8 @@
Your new login details for {{ config('app.name') }} follow:
Do not share this information with anyone else! <br />
<strong>E-Mail Address:</strong> {!! $user->email !!}<br />
<strong>Temporary Password:</strong> {!! $newpw !!}<br /><br />
<strong>E-Mail Address:</strong> {{ $user->email }}<br />
<strong>Temporary Password:</strong> {{ $newpw }}<br /><br />
Your account is now ready for use.<br />
Upon first login, please reset your password.

View File

@@ -1,5 +1,5 @@
@component('mail::message')
# Thanks for signing up, {!! $user->name !!}!
# Thanks for signing up, {{ $user->name }}!
You will be notified as soon as your account is approved!

View File

@@ -1,5 +1,5 @@
@component('mail::message')
# Thanks for signing up, {!! $user->name !!}!
# Thanks for signing up, {{ $user->name }}!
Your account is ready to use.

View File

@@ -1,5 +1,5 @@
@component('mail::message')
# Hi {!! $user->name !!},
# Hi {{ $user->name }},
Your registration to our airline was denied. Please contact
an administrator with any questions you may have.