Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeming inability to fetch Hubzilla objects #78

Closed
aliceif opened this issue Dec 17, 2024 · 3 comments
Closed

Seeming inability to fetch Hubzilla objects #78

aliceif opened this issue Dec 17, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@aliceif
Copy link

aliceif commented Dec 17, 2024

Both in the admin federation page and in clients' search bar, retrieving posts from Hubzilla such as https://hub.utsukta.org/item/368dc0ca-da0a-4d16-99bd-cc1047d8ecd0 fails. Fedify lookup works though.

@dahlia dahlia added the bug Something isn't working label Dec 18, 2024
@dahlia dahlia self-assigned this Dec 18, 2024
@dahlia
Copy link
Member

dahlia commented Dec 18, 2024

This issue is a problem that occurs on two different layers. First, it is because Hubzilla uses an incorrect syntax of the Link header in the HTTP response of the actor object:

Link: ...,<https://hub.utsukta.org/channel/sk>; rel="alternate"; type="application/ld+json; profile="https://www.w3.org/ns/activitystreams"",...

If you look closely, you will see that the type parameter value of the link https://hub.utsukta.org/channel/sk contains a quotation mark but has not been escaped. This header should be fixed as follows:

Link: ...,<https://hub.utsukta.org/channel/sk>; rel="alternate"; type="application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",...

Secondly, when Fedify encounters a Link header with incorrect syntax, it fails the lookup process entirely. This is not technically a bug, but it is not a robust behavior.

I will report the first issue to the Hubzilla project, and for the second issue, I will fix Fedify and release a new version, and then Hollo will be able to use the new version of Fedify.

@dahlia
Copy link
Member

dahlia commented Dec 18, 2024

Filed an issue about this on the Hubzilla's issue tracker.

@dahlia
Copy link
Member

dahlia commented Dec 18, 2024

Fixed in Hollo 0.3.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants