From 5df13c31735fa089d5344fde13b66ace1ea473d1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Sep 2010 23:46:14 +0200 Subject: curl_easy_escape: don't escape "unreserved" characters According to RFC3986 section 2.3 the letters -, ., _ and ~ should not be percent-encoded. Reported by: Miguel Diaz Bug: http://curl.haxx.se/mail/lib-2010-09/0227.html --- tests/data/test58 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test58') diff --git a/tests/data/test58 b/tests/data/test58 index 82811df9f..1bd53fa27 100644 --- a/tests/data/test58 +++ b/tests/data/test58 @@ -39,7 +39,7 @@ a few bytes ^User-Agent:.* -PUT /we/want/58te%5B%5Dst%2Etxt HTTP/1.1 +PUT /we/want/58te%5B%5Dst.txt HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 12 -- cgit v1.2.3