From 260b88c197645a3d2548c2938ff8097bdd69fb88 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 9 Apr 2006 22:40:49 +0000 Subject: mention RFC 2396 for URL syntax spec --- docs/libcurl/curl_easy_setopt.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 14eee0cff..18718efb0 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -295,7 +295,10 @@ given protocol of the set URL is not supported, libcurl will return on error \fIcurl_multi_perform(3)\fP. Use \fIcurl_version_info(3)\fP for detailed info on which protocols that are supported. -\fICURLOPT_URL\fP is the only option that must be set before +The string given to CURLOPT_URL must be url-encoded and following the RFC 2396 +(http://curl.haxx.se/rfc/rfc2396.txt). + +\fICURLOPT_URL\fP is the only option that \fBmust\fP be set before \fIcurl_easy_perform(3)\fP is called. .IP CURLOPT_PROXY Set HTTP proxy to use. The parameter should be a char * to a zero terminated -- cgit v1.2.3