Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing redundant escape in regex

  • Loading branch information...
commit 3b584aee950f5a602a4acfbc15f9bc1530716dc0 1 parent ad8dc5a
@mikel mikel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionmailer/lib/action_mailer/old_api.rb
View
2  actionmailer/lib/action_mailer/old_api.rb
@@ -247,7 +247,7 @@ def parse_content_type(defaults=nil)
[ nil, {} ]
else
ctype, *attrs = @content_type.split(/;\s*/)
- attrs = Hash[attrs.map { |attr| attr.split(/\=/, 2) }]
+ attrs = Hash[attrs.map { |attr| attr.split(/=/, 2) }]
[ctype, {"charset" => @charset}.merge!(attrs)]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.