InfoDossier: avoid xss injection
This commit is contained in:
parent
7c3b9ecfa9
commit
2e03f77e4d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@
|
|||
- elsif champ.decorate.value == 'false'
|
||||
Non
|
||||
- else
|
||||
= champ.decorate.value.html_safe
|
||||
= sanitize(champ.decorate.value)
|
||||
|
||||
- if @facade.dossier.mandataire_social && gestionnaire_signed_in?
|
||||
.mandataire_social.text-success.center
|
||||
|
|
Loading…
Reference in a new issue