mirror of
https://github.com/mikedilger/chorus.git
synced 2026-11-19 15:24:25 +00:00
Merge ef0553b0eb8ffc15540bc92404b790bfd3e235b0 into 411f16ad18397cd3474016015f7f074a0c285430
This commit is contained in:
commit
fe566b7dfa
@ -89,7 +89,7 @@ pub async fn check_auth(request: Request<Incoming>) -> Result<(Pubkey, Value), E
|
||||
format!("{}", uri)
|
||||
};
|
||||
|
||||
if actual_url != auth_url {
|
||||
if actual_url.trim_end_matches('/') != auth_url.trim_end_matches('/') {
|
||||
return s_err(&format!(
|
||||
"Authorization event URL {} does not match requqest URL {}",
|
||||
auth_url, actual_url
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user