0.5.1: axum-only apub_federation, rustls ring-only, install ring provider
This commit is contained in:
@@ -30,6 +30,7 @@ fn webfinger_url(handle: &ParsedHandle<'_>) -> String {
|
||||
async fn fetch_webfinger(url: &str) -> anyhow::Result<serde_json::Value> {
|
||||
let parsed = Url::parse(url)?;
|
||||
crate::security::validate_url(&parsed).await?;
|
||||
crate::tls::ensure_crypto_provider();
|
||||
Ok(reqwest::Client::new()
|
||||
.get(url)
|
||||
.header("Accept", "application/jrd+json, application/json")
|
||||
|
||||
Reference in New Issue
Block a user