svenstaro/miniserve

Unable to serve files with embedded newline

Dialga opened this issue · 2 comments

If a filename has an embedded newline, opening it in the browser will result in a "failed to parse header value" error.
Note: python http.server, php -S and darkhttpd are able to serve files with newlines successfully.

This is a problem in actix-files. I made an issue upstream.

I submitted a fix for this here: actix/actix-web#3235

Hopefully it gets merged and released soon. :)