InfyOmLabs / adminlte-generator

Boilerplate of Laravel with InfyOm Laravel Generator for AdminLTE Templates
https://infyom.com/open-source/laravelgenerator/docs/8.0/boilerplates
388 stars 273 forks source link

app.blade.php uses {!! !!} instead of {{ }} #19

Closed dhcmega closed 5 years ago

dhcmega commented 7 years ago

Hi I think that all the user data, like user's name should be displayed using {{ $user->name }} instead of {!! $user->name !!} because a user might enter HTML text as name, or JS code and that could be bad.

RhRU commented 6 years ago

@dhcmega IMHO It is on you to prevent that from happening.

mitulgolakiya commented 5 years ago

@RhRU yes, I would leave that to the user. If they want to change then they can change manually, because all values will not be HTML.