This project is archived and is in readonly mode.

#1071 ✓hold
apeiros

UrlHelper#mail_to II

Reported by apeiros | September 18th, 2008 @ 09:11 PM | in 2.x

for glory again:

old: .each_byte do |c| email_address_encoded << sprintf("&#%d;", c) end new: .unpack("H*").first.gsub(/../, "&#x\&")

It uses a slightly different encoding, but that should (must) be interpreted the same by browsers. Same advantages as with the last (mainly running in C, removing method invocation overhead)

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

Pages