Something went wrong. Try again.
Fork for PR & AGPL purposes pds.lavate.ch
Something went wrong. Try again.
fix: derive lexicon DNS authority from all-but-last NSID segment master
Permission-set expansion resolved the lexicon's DNS authority using a fixed `parts[..2]`, which only works for three-segment NSIDs. For a four-segment NSID such as community.lexicon.bookmarks.authManageBookmarks this dropped a segment and queried _lexicon.lexicon.community instead of _lexicon.bookmarks.lexicon.community, failing with "DNS resolution failed: ... no record found". The authority is every NSID segment except the last (the name), reversed. Use parts[..parts.len() - 1] to match the spec and the existing extract_namespace_authority helper, and update the DNS authority test with three/four-segment and bookmarks regression cases.
Author Tyler Committer Tangled Date (Jun 3, 2026, 10:28 PM UTC) Commit 8e6ace2f 8e6ace2fe2db7aa3bd4fb09eae5ca8d8c26f112a Parent 3018a208 3018a2084389df0fd54e92f5507dfe906ad83dcf