mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 13:11:37 +00:00
Make trailing slash on server key request optional (#788)
Cherry-picked from 7e861b60fbd721b374ec929926b14e57dc60ec41
This commit is contained in:
parent
0ed2dd0b15
commit
a81917c3e7
@ -64,6 +64,7 @@ func Setup(
|
|||||||
// {keyID} argument and always return a response containing all of the keys.
|
// {keyID} argument and always return a response containing all of the keys.
|
||||||
v2keysmux.Handle("/server/{keyID}", localKeys).Methods(http.MethodGet)
|
v2keysmux.Handle("/server/{keyID}", localKeys).Methods(http.MethodGet)
|
||||||
v2keysmux.Handle("/server/", localKeys).Methods(http.MethodGet)
|
v2keysmux.Handle("/server/", localKeys).Methods(http.MethodGet)
|
||||||
|
v2keysmux.Handle("/server", localKeys).Methods(http.MethodGet)
|
||||||
|
|
||||||
v1fedmux.Handle("/send/{txnID}", common.MakeFedAPI(
|
v1fedmux.Handle("/send/{txnID}", common.MakeFedAPI(
|
||||||
"federation_send", cfg.Matrix.ServerName, keys,
|
"federation_send", cfg.Matrix.ServerName, keys,
|
||||||
|
1
testfile
1
testfile
@ -170,3 +170,4 @@ Deleted tags appear in an incremental v2 /sync
|
|||||||
Outbound federation can query profile data
|
Outbound federation can query profile data
|
||||||
/event/ on joined room works
|
/event/ on joined room works
|
||||||
/event/ does not allow access to events before the user joined
|
/event/ does not allow access to events before the user joined
|
||||||
|
Federation key API allows unsigned requests for keys
|
||||||
|
Loading…
Reference in New Issue
Block a user