FIX: cleanup commas in email From and Reply-to fields

This commit is contained in:
Arpit Jalan
2014-11-24 19:46:15 +05:30
parent 7611eb4e78
commit 20044da474
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ module Email
def self.cleanup_alias(name)
# TODO: I'm sure there are more, but I can't find a list
name ? name.gsub(/[:<>]/, '') : name
name ? name.gsub(/[:<>,]/, '') : name
end
end