jmacdotorg / whim

A command-line multitool for sending, receiving, storing, and presenting webmentions.
MIT License
17 stars 3 forks source link

Give whim an allow-list for targets #48

Open jmacdotorg opened 4 years ago

jmacdotorg commented 4 years ago

Just as whim has a block-list for sources, it should have an allow-list for targets.

If the allow list has no members, then it will happily store webmentions meant for any target -- just as it does now.

If the allow list has any members, then it will accept only webmentions whose targets match (for some definition of "match") at least one member of the list.

Two notes: