Rails 3 treats all strings as unsafe by default

3.0
Benoit Garret 2011-06-24 17:50:57 +02:00
parent d9c53853ed
commit eb8033c57c
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,6 @@ module PaiementCicHelper
<input type="hidden" name="societe" id="societe" value="' + oa["societe"] + '" /> <input type="hidden" name="societe" id="societe" value="' + oa["societe"] + '" />
<input type="hidden" name="texte-libre" id="texte-libre" value="' + oa["texte-libre"] + '" /> <input type="hidden" name="texte-libre" id="texte-libre" value="' + oa["texte-libre"] + '" />
<input type="hidden" name="mail" id="mail" value="''" />' <input type="hidden" name="mail" id="mail" value="''" />'
html html.html_safe
end end
end end