projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6269e2
)
Quote the from address explicitly as rails seems to be failing to do
author
Tom Hughes
<tom@compton.nu>
Fri, 6 Nov 2009 16:03:19 +0000
(16:03 +0000)
committer
Tom Hughes
<tom@compton.nu>
Fri, 6 Nov 2009 16:03:19 +0000
(16:03 +0000)
it, though it looks like it should from a quick glance at the source.
app/models/notifier.rb
patch
|
blob
|
history
diff --git
a/app/models/notifier.rb
b/app/models/notifier.rb
index 6ba90ce58954b0096cc621ba260bb80e0f86a4ce..7fc276042c54817aec620fdd6ad47efe5c2457f4 100644
(file)
--- a/
app/models/notifier.rb
+++ b/
app/models/notifier.rb
@@
-112,7
+112,7
@@
private
def from_header(name, type, id, digest)
if domain = APP_CONFIG['messages_domain']
- from
"#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>"
+ from
quote_address_if_necessary("#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>", "utf-8")
end
end
end