fix: allow www. apex equivalence in actor domain verification

Threads serves actors at threads.net but their id field uses www.threads.net.
Extract apex_domain() helper and fall back to apex comparison when the
strict verify_domains_match check fails.
This commit is contained in:
2026-05-27 22:49:30 +02:00
parent 13111c10b9
commit 9412a9739a
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "k-ap"
version = "0.1.5"
version = "0.1.6"
edition = "2024"
description = "Generic ActivityPub protocol layer"
license = "MIT"