valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.94k stars 1.76k forks source link

fs: fix openIndexFile when dirPath is empty string #1779

Closed efectn closed 6 months ago

efectn commented 6 months ago

openIndexFile overrides the index path to make it usable with subdirs. This causes wrong index path like /index.html when the dirPath is empty string.

erikdubbelboer commented 6 months ago

Thanks!

efectn commented 6 months ago

Hi @erikdubbelboer do you have any plan for new release to include these bugfixes?

erikdubbelboer commented 6 months ago

I'll do a release on Monday.