diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 15:12:16 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-25 15:12:16 +1100 |
commit | 4e74f0fcdcb0820865689cc0595cf0c83aee7cab (patch) | |
tree | 1fd4a83516acaad73d88f0d7f011caf045ab5a17 /app/models/info_request.rb | |
parent | 65680320bee44812394041492c8492e95b1a3d78 (diff) | |
parent | a67666e34c280d2b9eb613f57d96ba4ee5fcd749 (diff) |
Merge branch 'rails_xss' into rails-3-spike
Conflicts:
Gemfile
Gemfile.lock
config/environment.rb
lib/i18n_fixes.rb
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 08b331c26..c85a9701d 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -266,9 +266,9 @@ public # into some sort of separate jurisdiction dependent file if self.public_body.url_name == 'general_register_office' # without GQ in the subject, you just get an auto response - _('{{law_used_full}} request GQ - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title) + _('{{law_used_full}} request GQ - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title.html_safe) else - _('{{law_used_full}} request - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title) + _('{{law_used_full}} request - {{title}}',:law_used_full=>self.law_used_full,:title=>self.title.html_safe) end end def email_subject_followup(incoming_message = nil) |