From b77fe49150b07892c7cc59c44b681db413f3eddd Mon Sep 17 00:00:00 2001
From: Sam
Date: Wed, 19 Mar 2014 09:46:48 +1100
Subject: [PATCH] Stop leaking site_email in rss
---
app/views/list/list.rss.erb | 2 +-
app/views/topics/show.rss.erb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/views/list/list.rss.erb b/app/views/list/list.rss.erb
index c9021b7f171..c9ed0be878f 100644
--- a/app/views/list/list.rss.erb
+++ b/app/views/list/list.rss.erb
@@ -14,7 +14,7 @@
<% topic_url = Discourse.base_url + topic.relative_url -%>
-
<%= topic.title %>
- <%= "#{site_email} (@#{topic.user.username}#{" #{topic.user.name}" if topic.user.name.present?})" -%>
+ <%= "no-reply@example.com (@#{topic.user.username}#{" #{topic.user.name}" if topic.user.name.present?})" -%>
<%= topic.category.name %>
<%= t('author_wrote', author: link_to(topic.user.name, userpage_url(topic.user.username_lower))).html_safe %>
diff --git a/app/views/topics/show.rss.erb b/app/views/topics/show.rss.erb
index facdf9f01af..c5a9fd9e545 100644
--- a/app/views/topics/show.rss.erb
+++ b/app/views/topics/show.rss.erb
@@ -15,7 +15,7 @@
<% next unless post.user %>
-
<%= @topic_view.title %>
- <%= "#{site_email} (@#{post.user.username}#{" #{post.user.name}" if post.user.name.present?})" -%>
+ <%= "no-reply@example.com (@#{post.user.username}#{" #{post.user.name}" if post.user.name.present?})" -%>
<%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user.username_lower))).html_safe %>