aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index cf0ce153b..017e08c5d 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: request_controller.rb,v 1.99 2008-08-29 12:58:08 francis Exp $
+# $Id: request_controller.rb,v 1.100 2008-08-31 12:46:15 francis Exp $
class RequestController < ApplicationController
@@ -333,7 +333,7 @@ class RequestController < ApplicationController
# Prevent spam to magic request address.
# XXX Bit dodgy modifying a binary like this but hey. Maybe only do for some mime types?
- @attachment.body = @incoming_message.binary_mask_special_emails(@attachment.body)
+ @attachment.body = IncomingMessage.binary_mask_all_emails(@attachment.body)
response.content_type = 'application/octet-stream'
if !@attachment.content_type.nil?