middleware to reject non-gemini requests #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gemini (weirdly IMO) allows for users to send gemini requests for non-gemini resources.
A gemini request is just
<URL><CR><LF>
, and nothing disallows the "scheme" component of the URL being "http" or "gopher", etc.Probably the sanest default is to reject all these with
53 Proxy request refused
, but configuration is stranger to allow these than denying with a middleware. So let's start there.