mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
federation/serverauth: fix URI passed to signableRequest (#381)
This commit is contained in:
parent
a3d5da315f
commit
c7fbfd150f
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ func (sa *ServerAuth) Authenticate(r *http.Request) (*http.Request, *mautrix.Res
|
|||
}
|
||||
err = (&signableRequest{
|
||||
Method: r.Method,
|
||||
URI: r.URL.RawPath,
|
||||
URI: r.URL.EscapedPath(),
|
||||
Origin: parsed.Origin,
|
||||
Destination: destination,
|
||||
Content: reqBody,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue