From 554d6beafae2e712573145947d9fa0301d27fabe Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 14 Sep 2020 18:31:19 +0200 Subject: [PATCH] Fix post url federation --- src/apub/post.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apub/post.rs b/src/apub/post.rs index 86ac3e600..be9e2304b 100644 --- a/src/apub/post.rs +++ b/src/apub/post.rs @@ -253,8 +253,7 @@ impl FromApub for PostForm { let url = page .inner .url() - .as_ref() - .map(|u| u.as_single_xsd_string()) + .map(|u| u.as_single_xsd_any_uri()) .flatten() .map(|s| s.to_string()); let body = page