When adding a domain to an MRF Simple, also match its subdomains #228
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#228
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Basically, in a case where I add badactor.com to a list of instances to reject, I most likely would not be interested in their subdomains. This could be applied to MRF Simple only, as I'm not sure where else this would be relevant.
The simplest ways I can see from the code to do so would be adding ".*" to every listed domain in
subdomains_regex
or insubdomains_match
.yea, there... aren't many situations where you'd want to block the root but not subdomains
i might see if i can make it a tickbox thingy where it's "root and subdomains" just to make it flexible