Modify

Opened 7 years ago

Closed 7 years ago

#6307 closed defect (fixed)

Missing email obfuscation of replies to topic

Reported by: Odd Simon Simonsen Owned by: Radek Bartoň
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:

  • tracdiscussion/templates/discussion-macros.html

     
    221221
    222222        <div class="footer">
    223223          <div class="author">
    224             ${is_message_edit and discussion.author or message.author}
     224            ${format_author(is_message_edit and discussion.author or message.author)}
    225225          </div>
    226226          <div class="time">
    227227            ${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 (0)

Change History (1)

comment:1 Changed 7 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

Added to changeset r7899.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.