nickel-org / nickel.rs

An expressjs inspired web framework for Rust

Home Page:http://nickel-org.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StaticFilesHandler doesn't handle encoded URL for whitespace

tungel opened this issue · comments

If a request to server is test%20hi%20foo%20bar/python.jpg , it seems StaticFilesHandler will just literally take it as the path to the file system (which doesn't exist). It should decode the request URL into test hi foo bar/python.jpg instead.