~garritfra/taurus#8: 
Leaking full file path from 51 error

If you send a request to a subdirectory that doesn't have index.gmi, server will return full file path to that file.

For example, by requesting gemini://localhost/src (assuming that static_root is set to taurus repo), I get the following response:

51 Resource not found: /home/alex/Repos/taurus/./src/index.gmi

Solutions:

  • Remove path from error completely
  • Return path segment from URL
Status
RESOLVED FIXED
Submitter
~yerinalexey
Assigned to
Submitted
7 months ago
Updated
7 months ago
Labels
bug

~garritfra 7 months ago

Let's remove it from the error, to prevent this from happening at other places.

~garritfra REPORTED FIXED 7 months ago

Register here or Log in to comment, or comment via email.