[relay] Join page: GET /join hands an invite link opened in a browser to the app
ci / check (pull_request) Has been cancelled

A static page for https://<relay>/join#<invite id>.<secret>, the link messengers make tappable.
The fragment never reaches the relay. One button opens amicitia://invite?relay=<origin>#…; its
only script and style are named by SHA-256 in a Content-Security-Policy of default-src 'none';
no-store, no-referrer, no cookie, framing refused. PROTOCOL.md §8 lists the route.
This commit is contained in:
2026-11-18 17:03:32 +01:00
parent dff1bec275
commit 1ccae752d7
9 changed files with 252 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
//! acknowledges it. Stores exactly `docs/PROTOCOL.md` §5 and logs no request.
pub mod http;
pub mod join;
pub mod store;
use std::net::SocketAddr;