Should Gemini clients alert users upon redirect?
Bradley D. Thornton Bradley at NorthTech.US
Fri Feb 19 14:28:40 GMT 2021
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2/12/2021 4:09 PM, Sean Conner wrote:
> It was thus said that the Great Sandra Snan once stated:
>> Revisiting this issue, I want to clarify what my position was and
>> is.
>>
>> Bogan's case is that you don't want to be doing a bunch of
>> 301s&31s from unslashed to slashed all day every day.
>>
>> I agree with that, and my site was definitely borked (both on
>> HTTPS and Gemini) for being set up to do just that.
>>
>> Bogan's solution is that you add slashes to links.
>>
>> I am not onboard with that solution but have now found another
>> solution. Instead of 301/31, the unslashed versions will now
>> serve the text directly.
>>
>> This is what I intended all along, I just could not figure out
>> how to do it properly because I am secretly really bad at
>> computers^W being motivated to hack on server stuff.
>>
>> In the future I might add 301/31 from slashed to unslashed, since
>> that's the canonical version. That's a project for another day
>> though.
>>
>> Thanks to everyone for their patience with how messed up my
>> capsule has been.
>
> There's a semantic difference between a URL that ends with a '/'
> and one that doesn't. The one that ends with a '/' is semantically
> a directory, and to have to add a file per directory to get all
> URLs to end with a '/' is, in my opinion, silly. I can see what
> you are trying to do---skip the silly ".gmi" or ".gemini" extension
> as being part of the URL, but there should be better ways of doing
> that that populating a filesystem with a bunch of directories
> containing a single file (I may do a proof-of-concept with
> extensionless files---no, wait! I alreay have that---the
> individual tests under the Gemini Client Torture Test!)
>
> Furthermore, if you follow this link, sans a trailing '/':
>
> gemini://gemini.conman.org/test/UCSD-Pascal-source.zip
>
> you'll get a ZIP file. But, add a trailing '/' to that:
>
> gemini://gemini.conman.org/test/UCSD-Pascal-source.zip/
>
> and see what you get (hint: it's not a ZIP file)
>
Apologies for not trimming, I just left all of that intact above. Hey
Sean, we've been down this road well over a year ago, 14 September
2019 here on the list. Very early on in Gemini development.
You are correct, by why are we revisiting this again? Perhaps just a
link to the Subject thread: *URLs in request lines*, would suffice?
I'll make it simple ;) Here it is, from a post of mine, citing you, in
the middle of the thread back when we had less than a dozen servers in
Gemini space :)
https://mailing-list-archive.gemi.dev/www/2019/000160.html
I hope that helps!
Kindest regards,
- --
Bradley D. Thornton
Manager Network Services
http://NorthTech.US
gemini://Vger.Cloud
TEL: +1.310.421.8268
-----BEGIN PGP SIGNATURE-----
Comment: Find this cert at hkps://keys.openpgp.org
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
iQEzBAEBCAAdFiEENWT7St9Eg6sLyiLAuIw5wQytyEkFAmAvywkACgkQuIw5wQyt
yElh7gf/YFN114gnrZXY16fGZ35gZBnYeSdAOWf9vYlo2FKTYvdVORRx2I/4Tyhh
KbP6uaFTZ5lJMJ40HLtNDX0+UqKwFqm+d2i2/sRl6mRJWOmDDDDgccM4VPMaqGD/
n5BxhTnuKev8MJTNioT1GA/JclWMszTj12TufvHN7OJNDUQqjZDekJgjXccrlbaN
c+2ZGg1EgPKLPBX2TIgSOGlJkh7scNyXPehX+g2Tg7mXOZEgJ3a4D03enYWqj4vD
uAlAu3CPlSsgxKK+tSBH83anuOvk/IVEhu4DHj9ZLvlH7awdE2EpJ++64YKCSqDT
UMyoz9IXBlWFkjOy6dTGpAQyzJ3Ncw==
=pbG/
-----END PGP SIGNATURE-----
Archive home | About this archive