makew0rld / amfora

A fancy terminal browser for the Gemini protocol.
GNU General Public License v3.0
1.14k stars 65 forks source link

Auto redirect if the new URL just adds a trailing slash #271

Closed awfulcooking closed 2 years ago

awfulcooking commented 2 years ago

These redirects are probably necessary, not going anywhere & harmless, let's not prompt for them

e.g. gemini://some-place/~user => gemini://some-place/~user/

makew0rld commented 2 years ago

The only potential problem I see is that someone could keep redirecting from gemini://some-place/~user/ to gemini://some-place/~user//, etc. But redirects are capped at 5 anyway so it should be fine.

makew0rld commented 2 years ago

Thanks!