get_home_timeline returns a page of status::Status data that contains card::Card that has an author_url field of type Option<Url>. This causes serde to validate that the field value is an actual URL. However, this data comes from the oembed data of the linked web pages in posts, and hence may be invalid. For example, this post has the author URL set to a person's name.
So, either the validation should be relaxed to ignore invalid values present in the field, or the field type should be changed to String.
The same issue may be present for the provider_url and embed_url fields of the card::Card type as well.
This bug is present in the comb branch.
get_home_timeline
returns a page ofstatus::Status
data that containscard::Card
that has anauthor_url
field of typeOption<Url>
. This causes serde to validate that the field value is an actual URL. However, this data comes from the oembed data of the linked web pages in posts, and hence may be invalid. For example, this post has the author URL set to a person's name.So, either the validation should be relaxed to ignore invalid values present in the field, or the field type should be changed to String.
The same issue may be present for the
provider_url
andembed_url
fields of thecard::Card
type as well.