Griffin.WebServer
Griffin.WebServer copied to clipboard
FileListing not working if dot in path
Hi, I had a small problem that I wanted to share:
This line of code breaks the directory listing ifa you have a dot in the foldername like
"http//something/mytool/8.0/whatever"
https://github.com/jgauffin/Griffin.WebServer/blob/1a447fbf8bbe6ae661cf46f5f94d1ab8bcc8fea6/Source/Griffin.WebServer/Griffin.WebServer/Files/FileModule.cs#L176
I just removed this part for now:
context.Request.Uri.AbsolutePath.Contains("."))
I just started using it since few days and especially because of ssl support, thanks for that, cheers!