Skip to content

Add 301/302 URL redirect controls to network records - #268

Merged
ralyodio merged 1 commit into
mainfrom
fix/url-redirects
Oct 31, 2026
Merged

ralyodio merged 1 commit into
mainfrom
fix/url-redirects

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Names on /net/records now have a URL redirect form: enter a complete HTTPS destination, choose 301 permanent or 302 temporary, and save or remove with inline feedback. Existing registration destinations appear as 302 redirects. The gateway returns the selected status and exact destination, including its path and query.

Owner-only APIs validate active local ownership, reject self redirects and conflicting AAAA/CNAME records, and publish destination/status changes through federation. The additive schema keeps legacy destinations intact. Public DNS and HTTPS provisioning remain prerequisites for reaching the gateway.

Validation: 158 tests passed (4 environment-dependent skips); syntax and signed-reference checks passed. Browser checks at 1440px and 390px cover create 301, reload persistence, change 302, validation/input retention, remove, no forced refresh, and no horizontal overflow. Integration checks verify actual gateway Location/status responses, authorization, namespace suspension and DNS conflicts.

@ralyodio
ralyodio merged commit d15560c into main Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant