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.
Test a number of paths to ensure that directory traversal attempts do not succeed, and result in a 404.
… it to work under Windows
… printed on smoke test reports
…dc8' into devel