Comment by 🕹ī¸ skyjake

=> Re: "Where can I find some Titan URLs to test my client..." | In: u/dimkr

I can reproduce the erroneous slash-appending behavior on mobile (iOS) but not on desktop. Likely a mobile-specific bug then... The mobile UI is slightly different when it comes to entering the upload URL path so that's where the problem must be.

=> 🕹ī¸ skyjake [sysop]

2024-04-10 ¡ 9 months ago

2 Later Comments ↓

=> 🕹ī¸ skyjake [...] ¡ 2024-04-10 at 08:34:

This should fix it:

=> — Commit f4e0a60b6 on git.skyjake.fi

This will be included in future mobile builds.

The issue was indeed specific to mobile, and also required the URL to have a username prefix, "/users/" in this case. The code considered the slash redundant although it really isn't, leading to the slash being omitted/added based on the wrong conditions.

This is related to the wider issue on hd.206267.xyz where "/users/" appears without it meaning something like a subdirectory for user home directories, as Lagrange assumes.

IIRC, the plan was to add a site-specific setting to disable the user root detection to alleviate cases like this.

=> 😈 dimkr [OP] · 2024-04-10 at 12:16:

@skyjake Thanks, this explains many weird things I saw when writing my Titan client :)

Original Post

=> 😈 dimkr

Where can I find some Titan URLs to test my client implementation?

=> đŸ’Ŧ 8 comments ¡ 1 like ¡ 2024-04-05 ¡ 10 months ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/skyjake/16064
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
34.255023 milliseconds
Gemini-to-HTML Time
0.771666 milliseconds

This content has been proxied by September (ba2dc).