Skip to content

Conversation

Defective4
Copy link
Member

@Defective4 Defective4 commented Sep 3, 2025

Pull Request #520 introduced an attachment extension blacklist. The bot will immediately delete all attachments with forbidden extensions.
While the links to deleted attachments are logged, they are immediately invalidated by Discord.
This PR ensures that the deleted attachments are valid for a little longer, by making a HTTP request to URLs of all attachments sent by users.

@Defective4 Defective4 requested a review from a team as a code owner September 3, 2025 17:56
@Defective4 Defective4 changed the title Blocked attachment reuploading Reuploading of deleted attachments Sep 3, 2025
@Defective4 Defective4 closed this Sep 3, 2025
@Defective4 Defective4 force-pushed the blocked-attachment-reuploading branch from 8be8111 to cf93f9e Compare September 3, 2025 19:27
@Defective4 Defective4 reopened this Sep 3, 2025
@Defective4 Defective4 changed the title Reuploading of deleted attachments Extending lifespan of deleted attachments Sep 3, 2025
@danthe1st danthe1st merged commit 6a87f3d into Java-Discord:main Sep 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants