This project is archived and is in readonly mode.

#294 ✓resolved
Johan Sørensen

mail_to with javascript + replace_(dot|at) doesn't actually replace dots+ats

Reported by Johan Sørensen | June 1st, 2008 @ 07:07 PM

This patch makes UrlHelper#mail_to replace dots and at's when the encode option is set to javascript.

If you specified :replace_dot/:replace_at options together with the :encode => "javascript" option, the encoded javascript would actually include the raw email and not the one with dots and/or at's replaced.

Attached is a tiny git-am ready patch against 3282bf3b5016f0c9028cfff1012e8c31a13b40b7 that fixes this.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages