Skip to content

Conversation

dodok8
Copy link
Contributor

@dodok8 dodok8 commented Oct 3, 2025

Summary

Filter replies with the condition that visibility is public or unlisted. Now it hides posts with other visibility, such as direct.

Related Issue

Changes

  • Filter replies with condition:
    where: inArray(posts.visibility, ["public", "unlisted"]),

Benefits

Now, hide direct messages from replies.

dahlia added a commit that referenced this pull request Oct 3, 2025
Document the security fix for direct message leak vulnerability
in public post pages.

#248
dahlia added a commit that referenced this pull request Oct 3, 2025
fix: Direct messages are leaked on public post pages
@dahlia dahlia merged commit 893ee1a into fedify-dev:0.6-maintenance Oct 3, 2025
2 checks passed
@dahlia dahlia linked an issue Oct 3, 2025 that may be closed by this pull request
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.

Direct messages are leaked on public post pages
2 participants