Comment by ๐Ÿ‘ป ps

Re: "Regarding Titan redirection rules. Some servers return aโ€ฆ"

In: s/Gemini

I found this issue by sending non `text/plain` content to some Tootik instance.

The failure redirection target looks like this:

titan://host.com/users/oops

instead of :

gemini://host.com/users/oops

Same Lagrange. After that, I can not view the failure details in response, but get new Titan input form instead.

Also, not sure that's server-side bug, as nothing about that in the Titan specification.

@dimkr

๐Ÿ‘ป ps [OP]

2025-02-07 ยท 1 year ago

Original Post

๐ŸŒ’ s/Gemini

๐Ÿ‘ป ps:

Regarding Titan redirection rules. Some servers return a redirection to the failure page, but the target address is relative (e.g., /path instead of domain.com/path). In this case, my client resolves the relative address using the current URL, where the current scheme is Titan. As a result, the redirection goes to the failure page with the Titan scheme instead of Gemini. Of course, I can make a replacement, but what happens when the server wants to request the Titan scheme in the redirection...

๐Ÿ’ฌ 1 comment ยท 2025-02-07 ยท 1 year ago