From 4e010f1698b32de14c08bb22528773789a48952b Mon Sep 17 00:00:00 2001 From: silverpill Date: Wed, 16 Feb 2022 23:46:01 +0000 Subject: [PATCH] Add profile data validation to get_or_import_profile_by_actor_id --- src/activitypub/fetcher/helpers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/activitypub/fetcher/helpers.rs b/src/activitypub/fetcher/helpers.rs index 434305e..b00f423 100644 --- a/src/activitypub/fetcher/helpers.rs +++ b/src/activitypub/fetcher/helpers.rs @@ -66,6 +66,7 @@ pub async fn get_or_import_profile_by_actor_id( err })?; log::info!("fetched profile {}", profile_data.acct); + profile_data.clean()?; let profile = create_profile(db_client, profile_data).await?; profile },