Patch #2197

protect user email from spmamer

Added by Anh Kỳ Huỳnh about 3 years ago. Updated about 2 years ago.

Status:Reopened Start date:2008-11-15
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Email notifications
Target version:-

Description

Orignal file app/views/account/show.rhtml

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

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

History

Updated by Jean-Philippe Lang about 3 years ago

  • Status changed from New to Closed

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

Updated by Anh Kỳ Huỳnh about 2 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
xml.email(author.mail) if author.is_a?(User) 
   && !author.mail.blank? && !author.pref.hide_mail

Also available in: Atom PDF