diff options
author | Loïc Hoguin <[email protected]> | 2019-09-07 12:18:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-07 12:18:16 +0200 |
commit | 4427108b69fcd1e6a8233a217fa0e99d0564b714 (patch) | |
tree | 17f211a65ab85db82b312129782e8024c5639fa7 /test/handlers/stream_handler_h.erl | |
parent | 36836594f83a9dfdb30472a792d7ff73b3b48e3e (diff) | |
download | cowboy-4427108b69fcd1e6a8233a217fa0e99d0564b714.tar.gz cowboy-4427108b69fcd1e6a8233a217fa0e99d0564b714.tar.bz2 cowboy-4427108b69fcd1e6a8233a217fa0e99d0564b714.zip |
Improve the cowboy_static consistency across platforms
As a result we explictly reject path_info components that include
a forward slash, backward slash or NUL character. This only applies
to the [...] part of the path for dir/priv_dir configuration.
Also improve the tests so that they work on Windows.
Diffstat (limited to 'test/handlers/stream_handler_h.erl')
0 files changed, 0 insertions, 0 deletions