mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-05-20 01:18:52 +00:00
fix lemmy test
This commit is contained in:
parent
8601c5ef04
commit
9413bad37a
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ where
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
if res.url.as_str() != fetch_url {
|
if res.url.as_str() != fetch_url {
|
||||||
return Err(Error::WebfingerResolveFailed(WebFingerError::RedirectNotAllowed).into());
|
data.config.verify_url_valid(&res.url).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug_assert_eq!(res.object.subject, format!("acct:{identifier}"));
|
debug_assert_eq!(res.object.subject, format!("acct:{identifier}"));
|
||||||
|
|
Loading…
Reference in a new issue