New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False negative of a filter on a hashtag #30257
Comments
My guess is that the filter checks for the content of the post, not the actual hashtag itself... whereas the hashtag follow checks for the hashtag itself, not the content of the post. |
Looks like out-of-band hashtags are not checked for filtering, only the post content (which might filter some hashtags if they also appear in the text representation) |
Yeah, filters apply to the contents of the post (text, poll options and media descriptions), but not out-of-band hashtags. I wonder if we should extend the filtering to out-of-band hashtags as well, or add a specific filter type for hashtags. |
I think I would apply the filter to out-of-band hashtags as well, because this is the behaviour we currently have for in-band hashtags |
Huh, interesting, this may have implications for using |
i'd be in favor of having both a CustomFilterHashtag and a CustomFilterMention as these are distinct from the textual content, and can be presented in multiple forms (the text inside the anchor link can be anything, including not present). etc etc of course, see #18955 for that |
Steps to reproduce the problem
Expected behaviour
The post should not have shown up, but filtered correctly.
Actual behaviour
I could see the post on my starting page.
Detailed description
the affected post: https://aaronparecki.com/2024/05/11/3/aurora
I could not see the hashtags of this post at all. Only when I opened the original page.
Mastodon instance
social.tchncs.de
Mastodon version
v4.2.8
Browser name and version
Firefox 125.0.3
Operating system
Arch
Technical details
No response
The text was updated successfully, but these errors were encountered: