miniweb
miniweb copied to clipboard
Small, cross-platform HTTP server with useful directory listing. Enhanced fork of http://miniweb.sourceforge.net
Hello, Thanks for your updates on miniweb. This is a very small PR to add SVG mime type and a GitHub action to build Windows version, and some doc on...
I found it about 4 years ago, and forgot to let know. still seems like, has vulnerbitity. - buffersize (atoi) > https://github.com/avih/miniweb/blob/master/http.c#L2348 - allocation > `phsSocket->bufferSize = phsSocket->request.payloadSize + 1;`...
With miniweb, SVG files aren't displayed properly in browser, because he uses _Content-Type: application/octet-stream_ instead of the correct one _image/svg+xml_ I added this in my branch https://github.com/stefan-muc/miniweb/tree/stefan-muc/SVG_Content-Type maybe you want...