picosh / pico

hacker labs - open source and managed web services leveraging SSH
https://pico.sh
MIT License
784 stars 27 forks source link

The clean URLs feature for html pages doesn't work if the file name has a period in it #58

Closed tenkabuto closed 10 months ago

tenkabuto commented 10 months ago

When I try to load the URL https://tacticaltypos.net/pgs.sh-static-hosting, I receive a 404 error.

I expected it to show me the content of the page https://tacticaltypos.net/pgs.sh-static-hosting.html, which includes the .html extension.

Generally the clean URLs feature does work, though, such as https://tacticaltypos.net/Now showing the content for https://tacticaltypos.net/Now.html