This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

Bug #526

Che email từ rss feed

Added by over 3 years ago. Updated over 3 years ago.

Status: Closed Start Date: 21-11-2009
Priority: High Due date: 22-11-2009
Assigned to: - % Done:

100%

Category: redmine: email system
Target version: 2.0.0
Resolution:
Votes: 0/0

Description

Khi đọc tin qua RSS feed, email của người dùng sẽ bị lộ (trừ khi họ đã cài đặt trong trang cá nhân). Tuy nhiên, trong bất kỳ tình huống nào, việc này làm giảm sút tính an toàn của hệ thống.

History

Updated by over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Bỏ đi thông tin về email trong feed.atom.xml:

< svn di -rPREV feed.atom.rxml 
Index: feed.atom.rxml
===================================================================
--- feed.atom.rxml    (revision 349)
+++ feed.atom.rxml    (working copy)
@@ -21,7 +21,7 @@
       author = item.event_author if item.respond_to?(:event_author)
       xml.author do
         xml.name(author)
-        xml.email(author.mail) if author.is_a?(User) && !author.mail.blank? && !author.pref.hide_mail
+        # xml.email(author.mail) if author.is_a?(User) && !author.mail.blank? && !author.pref.hide_mail
       end if author
       xml.content "type" => "html" do
         xml.text! textilizable(item, :event_description, :only_path => false)