polyamspace / mastodon

Custom Mastodon fork used by https://polyam.space
GNU Affero General Public License v3.0
1 stars 2 forks source link

Return domain block for domain if searching for subdomain #623

Open polyamAdmin opened 1 month ago

polyamAdmin commented 1 month ago

Pitch

Right now when searching domain blocks for a subdomain and the domain is blocked, that block is not included in search results. That behaviour should be changed to also include the domain itself in results.

Target behaviour: When searching for "sub.example.com", results should include "example.com"

Potential painpoint: TLDs with multiple parts like "co.uk"

Motivation

Makes it significantly easier to see if a domain is already blocked.