Dang, looks like #Mastodon doesn't handle relative URIs when parsing #ActivityPub / #ActivityStreams data.
For example I can't set the `id` of a post to be a relative URL since it loads it as raw JSON.
This makes it harder to publish static data to #p2p
@mauve PR time!!! xD
@Aranjedeath Honestly maybe. 👀 I wonder if there are any decent JSON-LD handling libraries for Ruby I could get in there. It might involve a lot of code being touched though.
@mauve i only saw pure // used as very specific outlier usecase for the period of migration from http: to https:, so browser would pick img-src with the same protocol as the webpage.
leaving uri w/o a scheme, is very likely to create way more problems and wrong expectations
@mauve@mastodon.mauve.moe
I reacted with a 'sad cat'.
🙀
Looks like it doesn't handle schemaless URLs either. :P e.g. `//staticpub.mauve.moe/about.jsonld`.
I'll need to use absolute HTTPS URLs while we figure out how to get the relative URLs into the stack. Might need to publish both side by side.