Patch #2197

protect user email from spmamer

Added by Anh Kỳ Huỳnh about 14 years ago. Updated about 13 years ago.

Status:ReopenedStart date:2008-11-15
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:-


Orignal file app/views/account/show.rhtml

A simple way to hidden users' email from spmamer :)

account_show.rhtml.diff Magnifier (536 Bytes) Anh Kỳ Huỳnh, 2008-11-15 17:45


#1 Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from New to Closed

Email address obfuscated in r2072 using javascript (Rails helper).

#2 Updated by Anh Kỳ Huỳnh about 13 years ago

  • Status changed from Closed to Reopened

The following line will show user emails to the world via RSS feed

# file: views/common/feed.atom.xml if author.is_a?(User) 
   && !author.mail.blank? && !author.pref.hide_mail

Also available in: Atom PDF