Open coderofsalvation opened 6 months ago
@coderofsalvation thanks for the idea, I used it as basis in https://github.com/reddec/trusted-cgi/commit/d2e405cd37704d4c88b04c63eb8022d6f590c926 . Could you please confirm that it will solve your case?
yup that works! Btw. I've replaced/force-pushed this branch with another fix: it resolves index.html in any directory now (see commit) This seems to be the default behaviour on many static-file http servers.
so, as @reddec already expected the staticDir crashed when no trailing space existed in an URL. This fix handles all possible situations: