Browse Source

Don't leak anonymous uploads' uploaders through RSS

spaghetti 3 months ago
parent
commit
59b2333bcf
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/upload/upload_handle.php

+ 1
- 1
sections/upload/upload_handle.php View File

@@ -660,7 +660,7 @@ $Debug->set_flag('upload: announced on irc');
660 660
 // Manage notifications
661 661
 
662 662
 // For RSS
663
-$Item = $Feed->item($Title, Text::strip_bbcode($Body), 'torrents.php?action=download&authkey=[[AUTHKEY]]&torrent_pass=[[PASSKEY]]&id='.$TorrentID, $LoggedUser['Username'], 'torrents.php?id='.$GroupID, trim($T['TagList']));
663
+$Item = $Feed->item($Title, Text::strip_bbcode($Body), 'torrents.php?action=download&authkey=[[AUTHKEY]]&torrent_pass=[[PASSKEY]]&id='.$TorrentID, $Properties['Anonymous'] ? 'Anonymous' : $LoggedUser['Username'], 'torrents.php?id='.$GroupID, trim($T['TagList']));
664 664
 
665 665
 
666 666
 //Notifications

Loading…
Cancel
Save