Merge ef0553b0eb8ffc15540bc92404b790bfd3e235b0 into 411f16ad18397cd3474016015f7f074a0c285430

This commit is contained in:
insumisos 2026-10-26 22:51:26 +01:00 committed by GitHub
commit fe566b7dfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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