]> git.openstreetmap.org Git - rails.git/commit
Use _html suffix to avoid using raw when displaying translated strings
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 22 Dec 2019 10:28:18 +0000 (11:28 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 22 Dec 2019 10:28:18 +0000 (11:28 +0100)
commitdddef7672e37e85e14af7aa2ffbd95214bd2689f
tree7e4272ebc87ac66add6cc0ab8d655956aba3db5f
parent217f61663048cb3040663d607364ab10937dbe9a
Use _html suffix to avoid using raw when displaying translated strings

This is safer than raw, since any user input is still escaped.
app/views/site/_potlatch.html.erb
app/views/site/edit.html.erb
app/views/site/export.html.erb
app/views/users/account.html.erb
app/views/users/blocked.html.erb
app/views/users/suspended.html.erb
app/views/users/terms.html.erb
config/locales/en.yml