diff options
author | Micael Karlberg <[email protected]> | 2011-09-23 14:14:19 +0200 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2011-09-23 14:14:19 +0200 |
commit | 9c686fc1fc0628549af91b84866b824e9a3f5f15 (patch) | |
tree | 45326ccba347081a20a7e81827519df9c1e21c78 /lib/inets/src/http_server/httpd_request.erl | |
parent | 7b304f5e886b03ad9cb52dc84169d06bfc9ea378 (diff) | |
parent | 12f3b441fc138a6e7a5bc09b8973bd55cba8b5be (diff) | |
download | otp-9c686fc1fc0628549af91b84866b824e9a3f5f15.tar.gz otp-9c686fc1fc0628549af91b84866b824e9a3f5f15.tar.bz2 otp-9c686fc1fc0628549af91b84866b824e9a3f5f15.zip |
Merge branch 'dev' of super:otp into bmk/megaco/fix_version_and_notes/OTP-9550
Diffstat (limited to 'lib/inets/src/http_server/httpd_request.erl')
-rw-r--r-- | lib/inets/src/http_server/httpd_request.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_server/httpd_request.erl b/lib/inets/src/http_server/httpd_request.erl index 7084d9824a..90f8bdd912 100644 --- a/lib/inets/src/http_server/httpd_request.erl +++ b/lib/inets/src/http_server/httpd_request.erl @@ -312,8 +312,8 @@ validate_uri(RequestURI) -> {'EXIT',_Reason} -> {error, {bad_request, {malformed_syntax, RequestURI}}}; _ -> - Path = format_request_uri(UriNoQueryNoHex), - Path2=[X||X<-string:tokens(Path, "/"),X=/="."], %% OTP-5938 + Path = format_request_uri(UriNoQueryNoHex), + Path2 = [X||X<-string:tokens(Path, "/\\"),X=/="."], validate_path( Path2,0, RequestURI) end. |