Ticket #6307 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Missing email obfuscation of replies to topic

Reported by: osimons Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When listing a topic and its replies, the author is only obfuscated for the original post - author is not obfuscated on any replies.

This patch fixes it:

Index: tracdiscussion/templates/discussion-macros.html
===================================================================
--- tracdiscussion/templates/discussion-macros.html	(revision 7214)
+++ tracdiscussion/templates/discussion-macros.html	(working copy)
@@ -221,7 +221,7 @@
 
         <div class="footer">
           <div class="author">
-            ${is_message_edit and discussion.author or message.author}
+            ${format_author(is_message_edit and discussion.author or message.author)}
           </div>
           <div class="time">
             ${is_message_edit and format_datetime(discussion.time) or format_datetime(message.time)} (${is_message_edit and pretty_timedelta(discussion.time) or pretty_timedelta(message.time)} ago)

Attachments

Change History

04/29/10 15:08:51 changed by Blackhex

  • status changed from new to closed.
  • resolution set to fixed.

Added to changeset r7899.


Add/Change #6307 (Missing email obfuscation of replies to topic)




Change Properties
Action