diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-05-20 01:48:31 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-05-20 01:48:31 -0400 |
commit | db979fea73c8695a81b9360ef3060e2710bece28 (patch) | |
tree | 911c2786ce751f680b7fea9476f459bb83a078ec /docs/libcurl/curl_easy_escape.3 | |
parent | a393d64456b60abee0806f4e118239412c44fb63 (diff) |
CURLOPT_POSTFIELDS.3: Mention curl_easy_escape
.. also correct some variable naming in curl_easy_escape.3
Bug: https://github.com/bagder/curl/issues/281
Reported-by: bsammon@users.noreply.github.com
Diffstat (limited to 'docs/libcurl/curl_easy_escape.3')
-rw-r--r-- | docs/libcurl/curl_easy_escape.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/libcurl/curl_easy_escape.3 b/docs/libcurl/curl_easy_escape.3 index 7c8c658d2..da2b38221 100644 --- a/docs/libcurl/curl_easy_escape.3 +++ b/docs/libcurl/curl_easy_escape.3 @@ -29,13 +29,13 @@ curl_easy_escape - URL encodes the given string .BI "char *curl_easy_escape( CURL *" curl ", char *" string ", int "length " );" .ad .SH DESCRIPTION -This function converts the given input \fBstring\fP to an URL encoded string +This function converts the given input \fIstring\fP to a URL encoded string and returns that as a new allocated string. All input characters that are not a-z, A-Z, 0-9, '-', '.', '_' or '~' are converted to their "URL escaped" version (%NN where NN is a two-digit hexadecimal number). -If the \fBlength\fP argument is set to 0 (zero), \fIcurl_easy_escape(3)\fP -uses strlen() on the input \fBurl\fP to find out the size. +If \fIlength\fP is set to 0 (zero), \fIcurl_easy_escape(3)\fP uses strlen() on +the input \fIstring\fP to find out the size. You must \fIcurl_free(3)\fP the returned string when you're done with it. .SH AVAILABILITY |