Skip to content

Commit

Permalink
Escape Employee email
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre RAMBAUD committed Sep 4, 2019
1 parent cd162a2 commit e0e04de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
{{ 'Your avatar in PrestaShop 1.7.x is your profile picture on %url%. To change your avatar, log in to PrestaShop.com with your email %email% and follow the on-screen instructions.'|trans({}, 'Admin.Advparameters.Help')
|replace({
'%url%': '<a href="https://www.prestashop.com/forums/" class="alert-link" target="_blank">PrestaShop.com</a>',
'%email%': employeeForm.email.vars.value
'%email%': (employeeForm.email.vars.value|escape)
})|raw
}}
</p>
Expand Down

0 comments on commit e0e04de

Please sign in to comment.