]> git.openstreetmap.org Git - rails.git/commit
Use _html suffix to avoid using raw when displaying translated strings
authorAndy Allan <git@gravitystorm.co.uk>
Fri, 20 Dec 2019 13:32:00 +0000 (14:32 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Fri, 20 Dec 2019 13:32:00 +0000 (14:32 +0100)
commit217f61663048cb3040663d607364ab10937dbe9a
tree9dc9462b8ab7f7327005b91bfeb7bdf737a32862
parentdfedf85b6ca076c4c95f10ea3d9649d1a4de6818
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/about.html.erb
app/views/user_blocks/blocks_by.html.erb
app/views/user_blocks/blocks_on.html.erb
app/views/user_blocks/edit.html.erb
app/views/user_blocks/new.html.erb
app/views/user_blocks/revoke.html.erb
app/views/user_blocks/show.html.erb
app/views/users/login.html.erb
app/views/users/new.html.erb
config/locales/en.yml