diff options
author | Ingela Anderton Andin <[email protected]> | 2010-11-26 11:02:15 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2010-11-29 10:45:42 +0100 |
commit | d678ee003cd02d3cdffabfd13cc96f8d493dbf0d (patch) | |
tree | ccca7fe2e385565a5fbcb70f1e60c600d4868542 /lib/inets/src/http_server/httpd_request.erl | |
parent | 839dcbfe1285b292c4208c696ceae4b22c46aff7 (diff) | |
download | otp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.tar.gz otp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.tar.bz2 otp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.zip |
URL-encoding - add support in client and more usage in server. Also
added missing include directory.
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 883acbf585..7084d9824a 100644 --- a/lib/inets/src/http_server/httpd_request.erl +++ b/lib/inets/src/http_server/httpd_request.erl @@ -304,9 +304,9 @@ validate_uri(RequestURI) -> UriNoQueryNoHex = case string:str(RequestURI, "?") of 0 -> - (catch httpd_util:decode_hex(RequestURI)); + (catch http_uri:decode(RequestURI)); Ndx -> - (catch httpd_util:decode_hex(string:left(RequestURI, Ndx))) + (catch http_uri:decode(string:left(RequestURI, Ndx))) end, case UriNoQueryNoHex of {'EXIT',_Reason} -> |