mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 12:16:54 +00:00
add destination to X-Matrix Authorization outbound requests
we were already validating this for inbound requests Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
a6cf5cfd8b
commit
fa0bdd431b
2 files changed
+3
-3
No files matched your search
@@ -729,8 +729,9 @@ where
|
||||
http_request.headers_mut().insert(
|
||||
AUTHORIZATION,
|
||||
HeaderValue::from_str(&format!(
|
||||
"X-Matrix origin={},key=\"{}\",sig=\"{}\"",
|
||||
services().globals.server_name(),
|
||||
"X-Matrix origin=\"{}\",destination=\"{}\",key=\"{}\",sig=\"{}\"",
|
||||
services().globals.config.server_name,
|
||||
dest,
|
||||
s.0,
|
||||
s.1
|
||||
))
|
||||
|
||||
Reference in new issue
Block a user