Rails 3, ActionMailer and urls (ampersand encoding)

In Rails 2, if I used an url in a plain text message it was sent as is, but it seems to be changed in Rails 3.

The url http://ab.cd/ef?g=1&h=2 seems to be now translated to http://ab.cd/ef?g=1&h=2 even if the message is plain text.

Is it correct? I've written my tests previously considering it should not be encoded in plain text messages and these tests are failing when I'm trying to upgrade my application to Rails 3...

Thanks in advance,

Rodrigo.

In Rails 2, if I used an url in a plain text message it was sent as is, but
it seems to be changed in Rails 3.

The url http://ab.cd/ef?g=1&h=2 seems to be now translated to
http://ab.cd/ef?g=1&h=2 even if the message is plain text.

Is it correct? I've written my tests previously considering it should not be
encoded in plain text messages and these tests are failing when I'm trying
to upgrade my application to Rails 3...

This seems to be a side effect of the unification in view code between
ActionView and ActionMailer. Could you open a lighthouse ticket about
this please.

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4858-actionmailer-is-html-escaping-ampersand-in-urls-in-plain-text-messages