This solves a potential directory traversal issue allowing static files to be served from a level above the public/ dir, which could be dangerous. Thanks to Vladimir Lettiev aka crux for reporting this regression.
Just check that we didn't get a file response. Previous approach was no good as Dancer::Test::_get_file_response() returns undef if there was no file to serve up.
… it to work under Windows
… printed on smoke test reports
…dc8' into devel