Patch #2197

protect user email from spmamer

Added by Anh Kỳ Huỳnh over 10 years ago. Updated over 9 years ago.

Status:ReopenedStart date:2008-11-15
Priority:NormalDue 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 Magnifier (536 Bytes) Anh Kỳ Huỳnh, 2008-11-15 17:45

History

#1 Updated by Jean-Philippe Lang over 10 years ago

  • Status changed from New to Closed

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

#2 Updated by Anh Kỳ Huỳnh over 9 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