]> git.openstreetmap.org Git - rails.git/commit
Use _html suffix to avoid using raw when displaying translated strings
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 16:43:34 +0000 (17:43 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 2 Jan 2020 16:43:34 +0000 (17:43 +0100)
commit5aa255e13fd5a9adfd7258cd7048466fc63f2347
treec2aa63ea15d69981e486a0fea8e4c75e7a1a054f
parent8dba8cd4a0deafc51ea5b1efcd91754b68f5bff8
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/browse/history.html.erb
app/views/oauth/authorize.html.erb
app/views/oauth/authorize_success.html.erb
app/views/oauth_clients/index.html.erb
app/views/users/_user.html.erb
app/views/users/new.html.erb
config/locales/en.yml