]> git.openstreetmap.org Git - rails.git/commit
Avoid calling raw in plain text email templates
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 25 Nov 2020 14:37:38 +0000 (14:37 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 25 Nov 2020 18:28:35 +0000 (18:28 +0000)
commitcc1d9592dfeed000be9e5ff2cce4ef4e5fd929eb
treeedf500edb10920c3385e46b4d0e96585cbb9f6b4
parent342e25dd5a154e1389a83228aed0b75c080d30c2
Avoid calling raw in plain text email templates

Rails doesn't escape text in text/plain outputs, since before Rails 4.

See https://github.com/rails/rails/pull/8235
app/views/user_mailer/diary_comment_notification.text.erb
app/views/user_mailer/message_notification.text.erb