Project

General

Profile

Actions

Patch #2197

closed

protect user email from spmamer

Added by Anh Kỳ Huỳnh about 16 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2008-11-15
Due date:
% Done:

0%

Estimated time:

Description

Orignal file app/views/account/show.rhtml

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


Files

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

Updated by Jean-Philippe Lang about 16 years ago

  • Status changed from New to Closed

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

Actions #2

Updated by Anh Kỳ Huỳnh almost 15 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
Actions #3

Updated by Go MAEDA 11 months ago

  • Status changed from Reopened to Closed

Anh Kỳ Huỳnh wrote in #note-2:

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

[...]

Atom feeds don't disclose email addresses unless the user chooses to show their email address in "My account" page.

Actions

Also available in: Atom PDF