diff options
author | András Veres-Szentkirályi <[email protected]> | 2011-08-26 02:52:19 +0200 |
---|---|---|
committer | András Veres-Szentkirályi <[email protected]> | 2011-08-26 02:52:19 +0200 |
commit | a93679550d8caac290ab4fe355c77ca7ed3ae18d (patch) | |
tree | 249ade4ef09a7ce77828ae6fe031d27034131320 /README.md | |
parent | 4a5a75811e2cd590b5c94f71864a5245fd511ccf (diff) | |
download | otp-a93679550d8caac290ab4fe355c77ca7ed3ae18d.tar.gz otp-a93679550d8caac290ab4fe355c77ca7ed3ae18d.tar.bz2 otp-a93679550d8caac290ab4fe355c77ca7ed3ae18d.zip |
Fix httpd directory traversal on Windows
Although the validation in httpd_request works well on platforms using
forward slash as directory separator, on Windows systems, this
protection can be circumvented using URLs containing backslashes.
This way, any file accessible to the user running the server (even
those outside the document root) can be read through HTTP. This commit
solves the problem by expanding the list of path separators to '/\\'.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions