💾 Archived View for rawtext.club › ~sloum › geminilist › 004743.gmi captured on 2024-02-05 at 11:19:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[spec] What to do of fragments when there is a redirection

Gary Johnson lambdatronic at disroot.org

Tue Jan 5 18:53:26 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Solderpunk <solderpunk at posteo.net> writes:

Should redirect URLs be allowed to contain queries?
If an original URL has a query in it but the client gets back a redirect
URL without a query, should the original query be appended?

That's a fair question. One of the recommendations you made for serverauthors was that we should redirect any URLs that don't end with a / totheir equivalent paths with / appended.

Thus a URL like gemini://mycapsule.org/foo?somequeryshould redirect to gemini://mycapsule.org/foo/?somequeryin order for the client to be able to correctly resolve any relativeURLs in links within the returned gemtext document (assuming this URLresponds with gemtext).

This is what I currently do in Space Age. If we were to mandate droppingthe query string, I suspect we would end up with some very brokendynamic pages in Geminispace.

YMMV, Gary

-- GPG Key ID: 7BC158EDUse `gpg --search-keys lambdatronic' to find meProtect yourself from surveillance: https://emailselfdefense.fsf.org=======================================================================() ascii ribbon campaign - against html e-mail/\ www.asciiribbon.org - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.See http://www.gnu.org/philosophy/no-word-attachments.html