]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
badwords: use hostname, not host name
authorDaniel Stenberg <daniel@haxx.se>
Tue, 6 Feb 2024 22:43:41 +0000 (23:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 Feb 2024 07:25:52 +0000 (08:25 +0100)
and username, filename - consistently. Fixed the patterns in
badwords.txt to catch these.

Closes #12888

37 files changed:
.github/scripts/badwords.txt
docs/CHECKSRC.md
docs/FEATURES.md
docs/HSTS.md
docs/MANUAL.md
docs/TheArtOfHttpScripting.md
docs/URL-SYNTAX.md
docs/libcurl/curl_easy_setopt.md
docs/libcurl/curl_formadd.md
docs/libcurl/curl_mime_filename.md
docs/libcurl/curl_mime_type.md
docs/libcurl/curl_url_get.md
docs/libcurl/libcurl-env.md
docs/libcurl/libcurl-security.md
docs/libcurl/libcurl-tutorial.md
docs/libcurl/opts/CURLMOPT_PUSHDATA.md
docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md
docs/libcurl/opts/CURLOPT_ALTSVC.md
docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md
docs/libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md
docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md
docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md
docs/libcurl/opts/CURLOPT_HSTS.md
docs/libcurl/opts/CURLOPT_HTTPAUTH.md
docs/libcurl/opts/CURLOPT_IPRESOLVE.md
docs/libcurl/opts/CURLOPT_MAIL_RCPT.md
docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md
docs/libcurl/opts/CURLOPT_NETRC.md
docs/libcurl/opts/CURLOPT_NOPROXY.md
docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md
docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md
docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md
docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md
docs/libcurl/opts/CURLOPT_USERNAME.md
docs/libcurl/opts/CURLOPT_USERPWD.md
docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md

index 0e6be76c6c060fb6502a65989a2c43684fa01f6b..216287f7fdfc75d031713f4160afea538c9f3c92 100644 (file)
@@ -23,14 +23,13 @@ isn't:is not
  a http: an http
  a ftp: an ftp
  url =URL
-internet\W=Internet
+internet\b=Internet
 isation:ization
 it's:it is
 there's:there is
 [^.]\. And: Rewrite it somehow?
 ^(And|So|But) = Rewrite it somehow?
 \. But: Rewrite it somehow?
-file name :filename
 \. So : Rewrite without "so" ?
  dir :directory
 you'd:you would
@@ -38,8 +37,12 @@ you'll:you will
 can't:cannot
 that's:that is
 web page:webpage
-host name\W:hostname
-file name\W:filename
+host name\b:hostname
+host names\b:hostnames
+file name\b:filename
+file names\b:filenames
+user name\b:username
+user names\b:usernames
 didn't:did not
 doesn't:does not
 won't:will not
index f73e7a8347a4f77f923be56c60f63e4bb94745ad..0d6e58c1423bae7fd4412b04e72faf607a2a6b32 100644 (file)
@@ -12,7 +12,7 @@ check that it adheres to our [Source Code Style guide](CODE_STYLE.md).
 `-W[file]` skip that file and exclude it from being checked. Helpful
 when, for example, one of the files is generated.
 
-`-D[dir]` directory name to prepend to file names when accessing them.
+`-D[dir]` directory name to prepend to filenames when accessing them.
 
 `-h` shows the help output, that also lists all recognized warnings
 
index 4a589e1649eea84ec4cdb3414f507c66e38975fd..bae38fb851e1afd288f8d8aba3210da7a5ee747c 100644 (file)
@@ -26,7 +26,7 @@
  - happy eyeballs dual-stack connects
  - persistent connections
  - SOCKS 4 + 5 support, with or without local name resolving
- - supports user name and password in proxy environment variables
+ - supports username and password in proxy environment variables
  - operations through HTTP proxy "tunnel" (using CONNECT)
  - replaceable memory functions (malloc, free, realloc, etc)
  - asynchronous name resolving (6)
index 5f0e624597152a5040cbc2e6e5ba164890ec79a2..d4e99044db3cdd664515e15cd18ba201430d0e3c 100644 (file)
@@ -38,5 +38,5 @@ The time stamp is when the entry expires.
 
 ## Possible future additions
 
- - `CURLOPT_HSTS_PRELOAD` - provide a set of HSTS host names to load first
+ - `CURLOPT_HSTS_PRELOAD` - provide a set of HSTS hostnames to load first
  - ability to save to something else than a file
index e7b4bb7af79e00f14fe10e4a22a8179d25a96536..04542b98753aa905e9e3df770dcee3ec3b066e96 100644 (file)
@@ -824,17 +824,17 @@ with
 
     ALL_PROXY
 
-A comma-separated list of host names that should not go through any proxy is
+A comma-separated list of hostnames that should not go through any proxy is
 set in (only an asterisk, `*` matches all hosts)
 
     NO_PROXY
 
-If the hostname matches one of these strings, or the host is within the
-domain of one of these strings, transactions with that node will not be done
-over proxy. When a domain is used, it needs to start with a period. A user can
+If the hostname matches one of these strings, or the host is within the domain
+of one of these strings, transactions with that node will not be done over
+proxy. When a domain is used, it needs to start with a period. A user can
 specify that both www.example.com and foo.example.com should not use a proxy
 by setting `NO_PROXY` to `.example.com`. By including the full name you can
-exclude specific host names, so to make `www.example.com` not use a proxy but
+exclude specific hostnames, so to make `www.example.com` not use a proxy but
 still have `foo.example.com` do it, set `NO_PROXY` to `www.example.com`.
 
 The usage of the `-x`/`--proxy` flag overrides the environment variables.
index 8607642f73cbed2d91f8e75451e66b32cbb6bf55..0357e8c5d16ff73d242b742debe0925a959a95c4 100644 (file)
 
     curl --proxy http://proxy.example.org:4321 http://remote.example.org/
 
-## User name and password
+## Username and password
 
  Some services are setup to require HTTP authentication and then you need to
  provide name and password which is then transferred to the remote site in
index 011a32c384119f5b8ce6451a835a6e3ece596c79..3ce2b64383b7f714b8c4a9ed51f7aff2a3bb68ed 100644 (file)
@@ -147,7 +147,7 @@ schemes:
 
 ## Userinfo
 
-The userinfo field can be used to set user name and password for
+The userinfo field can be used to set username and password for
 authentication purposes in this transfer. The use of this field is discouraged
 since it often means passing around the password in plain text and is thus a
 security risk.
@@ -184,7 +184,7 @@ machine.
 ### IDNA
 
 If curl was built with International Domain Name (IDN) support, it can also
-handle host names using non-ASCII characters.
+handle hostnames using non-ASCII characters.
 
 When built with libidn2, curl uses the IDNA 2008 standard. This is equivalent
 to the WHATWG URL spec, but differs from certain browsers that use IDNA 2003
@@ -357,7 +357,7 @@ file. If the path is omitted entirely then the directory listing for the root
 ## SMB
 The path part of a SMB request specifies the file to retrieve and from what
 share and directory or the share to upload to and as such, may not be omitted.
-If the user name is embedded in the URL then it must contain the domain name
+If the username is embedded in the URL then it must contain the domain name
 and as such, the backslash must be URL encoded as %2f.
 
 When uploading to SMB, the size of the file needs to be known ahead of time,
index 76404ed2438984ffa2dfd9487ec8250442bd5b0a..5e8313fae9a29138d876e90221159e66f9a7fa4c 100644 (file)
@@ -435,15 +435,15 @@ Enable .netrc parsing. See CURLOPT_NETRC(3)
 
 ## CURLOPT_USERPWD
 
-User name and password. See CURLOPT_USERPWD(3)
+Username and password. See CURLOPT_USERPWD(3)
 
 ## CURLOPT_PROXYUSERPWD
 
-Proxy user name and password. See CURLOPT_PROXYUSERPWD(3)
+Proxy username and password. See CURLOPT_PROXYUSERPWD(3)
 
 ## CURLOPT_USERNAME
 
-User name. See CURLOPT_USERNAME(3)
+Username. See CURLOPT_USERNAME(3)
 
 ## CURLOPT_PASSWORD
 
@@ -455,7 +455,7 @@ Login options. See CURLOPT_LOGIN_OPTIONS(3)
 
 ## CURLOPT_PROXYUSERNAME
 
-Proxy user name. See CURLOPT_PROXYUSERNAME(3)
+Proxy username. See CURLOPT_PROXYUSERNAME(3)
 
 ## CURLOPT_PROXYPASSWORD
 
@@ -467,11 +467,11 @@ HTTP server authentication methods. See CURLOPT_HTTPAUTH(3)
 
 ## CURLOPT_TLSAUTH_USERNAME
 
-TLS authentication user name. See CURLOPT_TLSAUTH_USERNAME(3)
+TLS authentication username. See CURLOPT_TLSAUTH_USERNAME(3)
 
 ## CURLOPT_PROXY_TLSAUTH_USERNAME
 
-Proxy TLS authentication user name. See CURLOPT_PROXY_TLSAUTH_USERNAME(3)
+Proxy TLS authentication username. See CURLOPT_PROXY_TLSAUTH_USERNAME(3)
 
 ## CURLOPT_TLSAUTH_PASSWORD
 
index 479f7f626c3213a2eedffdb95f43b9ce6b2298db..e2d1ad7f956e6d58e07d954772df198783ccebe8 100644 (file)
@@ -299,12 +299,12 @@ int main(void)
 
 # AVAILABILITY
 
-Deprecated in 7.56.0. Before this release, field names were allowed to
-contain zero-valued bytes. The pseudo-filename "-" to read stdin is
-discouraged although still supported, but data is not read before being
-actually sent: the effective data size can then not be automatically
-determined, resulting in a chunked encoding transfer. Backslashes and
-double quotes in field and file names are now escaped before transmission.
+Deprecated in 7.56.0. Before this release, field names were allowed to contain
+zero-valued bytes. The pseudo-filename "-" to read stdin is discouraged
+although still supported, but data is not read before being actually sent: the
+effective data size can then not be automatically determined, resulting in a
+chunked encoding transfer. Backslashes and double quotes in field and
+filenames are now escaped before transmission.
 
 # RETURN VALUE
 
index 4fb6b0d5161dc71702738c3b47334d5ad361df29..76c045bcb66f419ee77efdf8f338e847cec4f5d4 100644 (file)
@@ -12,7 +12,7 @@ See-also:
 
 # NAME
 
-curl_mime_filename - set a mime part's remote file name
+curl_mime_filename - set a mime part's remote filename
 
 # SYNOPSIS
 
index 3970ad88e29e4ce1a46cad578b8d628bbd7c3712..cdb09f8a2149519aa8402347a038b082ac03d640 100644 (file)
@@ -42,7 +42,7 @@ a default mime type is determined by the context:
 
 - application/form-data for an HTTP form post.
 
-- If a remote filename is set, the mime type is taken from the file name
+- If a remote filename is set, the mime type is taken from the filename
 extension, or application/octet-stream by default.
 
 - For a multipart part, multipart/mixed.
index 2ea42181861e66a2f0f1a32293aa3d26e9baa894..810e504c3592e91623fdc271a08b64bcd9a59a0f 100644 (file)
@@ -76,9 +76,9 @@ operation returns an error instead.
 
 ## CURLU_URLENCODE
 
-If set, curl_url_get(3) URL encodes the hostname part when a full URL
-is retrieved. If not set (default), libcurl returns the URL with the host name
-"raw" to support IDN names to appear as-is. IDN host names are typically using
+If set, curl_url_get(3) URL encodes the hostname part when a full URL is
+retrieved. If not set (default), libcurl returns the URL with the hostname raw
+to support IDN names to appear as-is. IDN hostnames are typically using
 non-ASCII bytes that otherwise gets percent-encoded.
 
 Note that even when not asking for URL encoding, the '%' (byte 37) is URL
@@ -119,7 +119,7 @@ When asked to return the full URL, curl_url_get(3) returns a normalized
 and possibly cleaned up version using all available URL parts.
 
 We advise using the *CURLU_PUNYCODE* option to get the URL as "normalized"
-as possible since IDN allows host names to be written in many different ways
+as possible since IDN allows hostnames to be written in many different ways
 that still end up the same punycode version.
 
 ## CURLUPART_SCHEME
index bd3e29c734ee534db3f15857776a3ca9bd544f62..c27f7cea20261295325b19ba80f4896d53817c18 100644 (file)
@@ -65,7 +65,7 @@ only) in which the .netrc file is likely to exist.
 
 ## LOGNAME
 
-User name to use when invoking the *ntlm-wb* tool, if *NTLMUSER* was
+Username to use when invoking the *ntlm-wb* tool, if *NTLMUSER* was
 not set.
 
 ## NO_PROXY
@@ -76,7 +76,7 @@ should not use a proxy.
 
 ## NTLMUSER
 
-User name to use when invoking the *ntlm-wb* tool.
+Username to use when invoking the *ntlm-wb* tool.
 
 ## SSLKEYLOGFILE
 
@@ -90,8 +90,8 @@ precautions so that they are not stolen or otherwise inadvertently revealed.
 
 ## USER
 
-User name to use when invoking the *ntlm-wb* tool, if *NTLMUSER* and
-*LOGNAME* were not set.
+Username to use when invoking the *ntlm-wb* tool, if *NTLMUSER* and *LOGNAME*
+were not set.
 
 # Debug Variables
 
index 019080d263d0198e03f99225f6044069a75034a8..da4ac73c6ebb01a03c3911c726f1bab344d50598 100644 (file)
@@ -218,15 +218,15 @@ information to be sent to an unknown second server. Applications can mitigate
 against this by disabling CURLOPT_FOLLOWLOCATION(3) and handling
 redirects itself, sanitizing where necessary.
 
-Use of the CURLAUTH_ANY option to CURLOPT_HTTPAUTH(3) could result in
-user name and password being sent in clear text to an HTTP server. Instead,
-use CURLAUTH_ANYSAFE which ensures that the password is encrypted over the
+Use of the CURLAUTH_ANY option to CURLOPT_HTTPAUTH(3) could result in username
+and password being sent in clear text to an HTTP server. Instead, use
+CURLAUTH_ANYSAFE which ensures that the password is encrypted over the
 network, or else fail the request.
 
 Use of the CURLUSESSL_TRY option to CURLOPT_USE_SSL(3) could result in
-user name and password being sent in clear text to an FTP server. Instead,
-use CURLUSESSL_CONTROL to ensure that an encrypted connection is used or else
-fail the request.
+username and password being sent in clear text to an FTP server. Instead, use
+CURLUSESSL_CONTROL to ensure that an encrypted connection is used or else fail
+the request.
 
 # Cookies
 
@@ -419,14 +419,14 @@ plain HTTP connection.
 
 Relatedly, be aware that in situations when you have problems with libcurl and
 ask someone for help, everything you reveal in order to get best possible help
-might also impose certain security related risks. Host names, user names,
-paths, operating system specifics, etc. (not to mention passwords of course)
-may in fact be used by intruders to gain additional information of a potential
+might also impose certain security related risks. Hostnames, usernames, paths,
+operating system specifics, etc. (not to mention passwords of course) may in
+fact be used by intruders to gain additional information of a potential
 target.
 
 Be sure to limit access to application logs if they could hold private or
-security-related data. Besides the obvious candidates like user names and
-passwords, things like URLs, cookies or even file names could also hold
+security-related data. Besides the obvious candidates like usernames and
+passwords, things like URLs, cookies or even filenames could also hold
 sensitive data.
 
 To avoid this problem, you must of course use your common sense. Often, you
@@ -460,7 +460,7 @@ only the trusted and reliable helper program is invoked!
 
 # Secrets in memory
 
-When applications pass user names, passwords or other sensitive data to
+When applications pass usernames, passwords or other sensitive data to
 libcurl to be used for upcoming transfers, those secrets are kept around as-is
 in memory. In many cases they are stored in the heap for as long as the handle
 itself for which the options are set.
index de110bb30f78524eb87f6a59bb34d833527ad479..2952856de79a2312b07af65fcf6029d1e02d2cd4 100644 (file)
@@ -350,7 +350,7 @@ buffer. Returning 0 signals the end of the upload.
 
 # Passwords
 
-Many protocols use or even require that user name and password are provided
+Many protocols use or even require that username and password are provided
 to be able to download or upload the data of your choice. libcurl offers
 several ways to specify them.
 
@@ -360,10 +360,10 @@ this:
 ~~~c
  protocol://user:password@example.com/path/
 ~~~
-If you need any odd letters in your user name or password, you should enter
+If you need any odd letters in your username or password, you should enter
 them URL encoded, as %XX where XX is a two-digit hexadecimal number.
 
-libcurl also provides options to set various passwords. The user name and
+libcurl also provides options to set various passwords. The username and
 password as shown embedded in the URL can instead get set with the
 CURLOPT_USERPWD(3) option. The argument passed to libcurl should be a
 char * to a string in the format "user:password". In a manner like this:
@@ -381,13 +381,13 @@ to the CURLOPT_USERPWD(3) option like this:
  curl_easy_setopt(handle, CURLOPT_PROXYUSERPWD, "myname:thesecret");
 ~~~
 
-There is a long time Unix "standard" way of storing FTP user names and
+There is a long time Unix "standard" way of storing FTP usernames and
 passwords, namely in the $HOME/.netrc file (on Windows, libcurl also checks
 the *%USERPROFILE% environment* variable if *%HOME%* is unset, and tries
 "_netrc" as name). The file should be made private so that only the user may
 read it (see also the "Security Considerations" chapter), as it might contain
 the password in plain text. libcurl has the ability to use this file to figure
-out what set of user name and password to use for a particular host. As an
+out what set of username and password to use for a particular host. As an
 extension to the normal functionality, libcurl also supports this file for
 non-FTP protocols such as HTTP. To make curl use this file, use the
 CURLOPT_NETRC(3) option:
@@ -416,7 +416,7 @@ To pass the known private key password to libcurl:
 
 # HTTP Authentication
 
-The previous chapter showed how to set user name and password for getting URLs
+The previous chapter showed how to set username and password for getting URLs
 that require authentication. When using the HTTP protocol, there are many
 different ways a client can provide those credentials to the server and you
 can control which way libcurl uses them. The default HTTP authentication
@@ -675,10 +675,10 @@ becomes:
  curl_mime_data_cb(part, (curl_off_t) -1, fread, fseek, NULL, stdin);
 ~~~
 
-curl_mime_name(3) always copies the field name. The special file name
-"-" is not supported by curl_mime_filename(3): to read an open file, use
-a callback source using fread(). The transfer is be chunk-encoded since the
-data size is unknown.
+curl_mime_name(3) always copies the field name. The special filename "-" is
+not supported by curl_mime_filename(3): to read an open file, use a callback
+source using fread(). The transfer is be chunk-encoded since the data size is
+unknown.
 
 ~~~c
  curl_formadd(&post, &last,
index 23e8785f20a0127b159b253fdf18ea4f3a7bd869..e8db6c8655e3d72324d63c2f26e68286ff0c9837 100644 (file)
@@ -42,7 +42,7 @@ HTTP(S)
 ~~~c
 #include <string.h>
 
-/* only allow pushes for file names starting with "push-" */
+/* only allow pushes for filenames starting with "push-" */
 int push_callback(CURL *parent,
                   CURL *easy,
                   size_t num_headers,
index 903ac06fb48d234d045353b08db0c482fa5845bc..2f08e72bd9c02a99c39768d85b1b553a746b1b02 100644 (file)
@@ -103,7 +103,7 @@ HTTP(S) (HTTP/2 only)
 ~~~c
 #include <string.h>
 
-/* only allow pushes for file names starting with "push-" */
+/* only allow pushes for filenames starting with "push-" */
 int push_callback(CURL *parent,
                   CURL *easy,
                   size_t num_headers,
index 6f6408474f0ae8c5d7b41730d4d02a6735a9e8be..e0db681b8d7572fa5a342e208940e5529f328fc4 100644 (file)
@@ -13,7 +13,7 @@ See-also:
 <!-- markdown-link-check-disable -->
 # NAME
 
-CURLOPT_ALTSVC - alt-svc cache file name
+CURLOPT_ALTSVC - alt-svc cache filename
 
 # SYNOPSIS
 
index ddaaace893fa70d461732639f6c3f4db1f1f5039..6c657169d747042acdbd9c1e42e0b4669284d044 100644 (file)
@@ -34,7 +34,7 @@ curl_url_set(3) function.
 
 # DEFAULT
 
-0 (disabled) - user names are allowed by default.
+0 (disabled) - usernames are allowed by default.
 
 # PROTOCOLS
 
index 0199f525aaee4a439d7006fdc1aa6c7fe71a2225..3a24d509c6fabd8cab33a5cd1d0e4e56a4ad5382 100644 (file)
@@ -33,8 +33,7 @@ default, libcurl caches this info for 60 seconds.
 
 We recommend users not to tamper with this option unless strictly necessary.
 If you do, be careful of using large values that can make the cache size grow
-significantly if many different host names are used within that timeout
-period.
+significantly if many different hostnames are used within that timeout period.
 
 The name resolve functions of various libc implementations do not re-read name
 server information unless explicitly told so (for example, by calling
index 070bdc5afc23812ea677452f6fd837b043c42e18..3a9c73a69e1deedbb8622d8a713b874a4faf50fe 100644 (file)
@@ -39,7 +39,7 @@ NULL
 
 # PROTOCOLS
 
-All protocols except file:// - protocols that resolve host names.
+All protocols except file:// - protocols that resolve hostnames.
 
 # EXAMPLE
 
index f8941953bd974e4a096771514ee1268322a66c4f..575fb19661863fbb4655a1b992c27ca209c955f6 100644 (file)
@@ -24,7 +24,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_ACCOUNT, char *account);
 # DESCRIPTION
 
 Pass a pointer to a null-terminated string (or NULL to disable). When an FTP
-server asks for "account data" after user name and password has been provided,
+server asks for "account data" after username and password has been provided,
 this data is sent off using the ACCT command.
 
 The application does not have to keep the string around after setting this
index 83379f2706850794aaa2aaf0d93911c208190631..7c15edabae19dbf1be40f6193ea2eac05a7a10da 100644 (file)
@@ -12,7 +12,7 @@ See-also:
 
 # NAME
 
-CURLOPT_HSTS - HSTS cache file name
+CURLOPT_HSTS - HSTS cache filename
 
 # SYNOPSIS
 
@@ -55,7 +55,7 @@ currently no length or size limit.
 
 # DEFAULT
 
-NULL, no file name
+NULL, no filename
 
 # PROTOCOLS
 
index ca92f5eb098e8f7fc2c1e3c5a6c47115717de885..2adacdd3f504d1a9d53e776be05bceb490eadc3e 100644 (file)
@@ -40,7 +40,7 @@ For authentication with a proxy, see CURLOPT_PROXYAUTH(3).
 
 HTTP Basic authentication. This is the default choice, and the only method
 that is in wide-spread use and supported virtually everywhere. This sends
-the user name and password over the network in plain text, easily captured by
+the username and password over the network in plain text, easily captured by
 others.
 
 ## CURLAUTH_DIGEST
index 7d06405ecdd15b03d4cedafc55f0502e703c889d..9eeabe84ed30776acf872daab0c81ee521bfc4cc 100644 (file)
@@ -26,7 +26,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_IPRESOLVE, long resolve);
 
 Allows an application to select what kind of IP addresses to use when
 establishing a connection or choosing one from the connection pool. This is
-interesting when using host names that resolve to more than one IP family.
+interesting when using hostnames that resolve to more than one IP family.
 
 If the URL provided for a transfer contains a numerical IP version as a host
 name, this option does not override or prohibit libcurl from using that IP
index e1b3f1555a6742ea2ee48278037cfdc21c099f4d..47065d30d20d76060102194a655fef425a9c5c50 100644 (file)
@@ -35,7 +35,7 @@ as the first character libcurl assumes you provided a single email address and
 encloses that address within brackets for you.
 
 When performing an address verification (**VRFY** command), each recipient
-should be specified as the user name or user name and domain (as per Section
+should be specified as the username or username plus domain (as per Section
 3.5 of RFC 5321).
 
 When performing a mailing list expand (**EXPN** command), each recipient
index a8da7d7abd2b53a8bcdc99b4c936cf67965fe609..747eab24dfbd464c06e81bec4a9e4db344f79c76 100644 (file)
@@ -30,7 +30,7 @@ Available bits are:
 
 ## CURLMIMEOPT_FORMESCAPE
 
-Tells libcurl to escape multipart form field and file names using the
+Tells libcurl to escape multipart form field and filenames using the
 backslash-escaping algorithm rather than percent-encoding (HTTP only).
 
 Backslash-escaping consists in preceding backslashes and double quotes with
index d5acdd5df3702b4b4e3e1ad7d04232978544e42f..580cdcd3b416ef1663f535a259a99099e8fb3ff6 100644 (file)
@@ -25,8 +25,8 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NETRC, long level);
 # DESCRIPTION
 
 This parameter controls the preference *level* of libcurl between using
-user names and passwords from your *~/.netrc* file, relative to user names
-and passwords in the URL supplied with CURLOPT_URL(3).
+usernames and passwords from your *~/.netrc* file, relative to usernames and
+passwords in the URL supplied with CURLOPT_URL(3).
 
 On Windows, libcurl uses the file as *%HOME%/_netrc*. If *%HOME%* is
 not set on Windows, libcurl falls back to *%USERPROFILE%*.
@@ -34,11 +34,11 @@ not set on Windows, libcurl falls back to *%USERPROFILE%*.
 You can also tell libcurl a different filename to use with
 CURLOPT_NETRC_FILE(3).
 
-libcurl uses a user name (and supplied or prompted password) supplied with
+libcurl uses a username (and supplied or prompted password) supplied with
 CURLOPT_USERPWD(3) or CURLOPT_USERNAME(3) in preference to any of
 the options controlled by this parameter.
 
-Only machine name, user name and password are taken into account (init macros
+Only machine name, username and password are taken into account (init macros
 and similar things are not supported).
 
 libcurl does not verify that the file has the correct properties set (as the
@@ -53,15 +53,15 @@ libcurl ignores the *.netrc* file. This is the default.
 ## CURL_NETRC_OPTIONAL (1)
 
 The use of the *.netrc* file is optional, and information in the URL is to
-be preferred. The file is scanned for the host and user name (to find the
-password only) or for the host only, to find the first user name and password
+be preferred. The file is scanned for the host and username (to find the
+password only) or for the host only, to find the first username and password
 after that *machine*, which ever information is not specified.
 
 ## CURL_NETRC_REQUIRED (2)
 
 The use of the *.netrc* file is required, and any credential information
-present in the URL is ignored. The file is scanned for the host and user name
-(to find the password only) or for the host only, to find the first user name
+present in the URL is ignored. The file is scanned for the host and username
+(to find the password only) or for the host only, to find the first username
 and password after that *machine*, which ever information is not
 specified.
 
@@ -74,7 +74,7 @@ Each field is provided as a sequence of letters that ends with a space or
 newline. Starting in 7.84.0, libcurl also supports quoted strings. They start
 and end with double quotes and support the escaped special letters ", n,
 r, and t. Quoted strings are the only way a space character can be used in
-a user name or password.
+a username or password.
 
 ## machine \<name\>
 
@@ -94,7 +94,7 @@ add a line similar to this in the end:
 
 ## login \<name\>
 
-The user name string for the remote machine.
+The username string for the remote machine.
 
 ## password \<secret\>
 
index 91292e22ea257247bbe46fc31ec8ad4af168b6cd..9bb396548ae01755f207deeb6a6fde660b30b584 100644 (file)
@@ -25,18 +25,17 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NOPROXY, char *noproxy);
 # DESCRIPTION
 
 Pass a pointer to a null-terminated string. The string consists of a comma
-separated list of host names that do not require a proxy to get reached, even
+separated list of hostnames that do not require a proxy to get reached, even
 if one is specified. The only wildcard available is a single * character,
 which matches all hosts, and effectively disables the proxy. Each name in this
 list is matched as either a domain which contains the hostname, or the
 hostname itself. For example, "ample.com" would match ample.com, ample.com:80,
 and www.ample.com, but not www.example.com or ample.com.org.
 
-Setting the *noproxy* string to "" (an empty string) explicitly enables
-the proxy for all host names, even if there is an environment variable set for
-it.
+Setting the *noproxy* string to "" (an empty string) explicitly enables the
+proxy for all hostnames, even if there is an environment variable set for it.
 
-Enter IPv6 numerical addresses in the list of host names without enclosing
+Enter IPv6 numerical addresses in the list of hostnames without enclosing
 brackets:
 
  "example.com,::1,localhost"
index f0d1dfc4d511b00210f3bea6619ca4e6a032ff3d..3a68275fbd004d7c9915c51897b68b0b3960926c 100644 (file)
@@ -13,7 +13,7 @@ See-also:
 
 # NAME
 
-CURLOPT_PROXYUSERNAME - user name to use for proxy authentication
+CURLOPT_PROXYUSERNAME - username to use for proxy authentication
 
 # SYNOPSIS
 
@@ -27,9 +27,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYUSERNAME,
 # DESCRIPTION
 
 Pass a char pointer as parameter, which should be pointing to the
-null-terminated user name to use for the transfer.
+null-terminated username to use for the transfer.
 
-CURLOPT_PROXYUSERNAME(3) sets the user name to be used in protocol
+CURLOPT_PROXYUSERNAME(3) sets the username to be used in protocol
 authentication with the proxy.
 
 To specify the proxy password use the CURLOPT_PROXYPASSWORD(3).
index 196d587e28ca414e712190e5d3397472400e398e..34489d4993be16398b84298dc52cc8e9ad156bd6 100644 (file)
@@ -13,7 +13,7 @@ See-also:
 
 # NAME
 
-CURLOPT_PROXYUSERPWD - user name and password to use for proxy authentication
+CURLOPT_PROXYUSERPWD - username and password to use for proxy authentication
 
 # SYNOPSIS
 
@@ -25,10 +25,10 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYUSERPWD, char *userpwd);
 
 # DESCRIPTION
 
-Pass a char pointer as parameter, which should be [user name]:[password] to
-use for the connection to the HTTP proxy. Both the name and the password are
-URL decoded before used, so to include for example a colon in the user name
-you should encode it as %3A. (This is different to how CURLOPT_USERPWD(3) is
+Pass a char pointer as parameter, which should be [username]:[password] to use
+for the connection to the HTTP proxy. Both the name and the password are URL
+decoded before used, so to include for example a colon in the username you
+should encode it as %3A. (This is different to how CURLOPT_USERPWD(3) is
 used - beware.)
 
 Use CURLOPT_PROXYAUTH(3) to specify the authentication method.
index 612ff4f92936823e098326465d80a322e879cae4..7c6ff6fbc99915d75aaa636fdeb869e3b9c33d33 100644 (file)
@@ -13,7 +13,7 @@ See-also:
 
 # NAME
 
-CURLOPT_PROXY_TLSAUTH_USERNAME - user name to use for proxy TLS authentication
+CURLOPT_PROXY_TLSAUTH_USERNAME - username to use for proxy TLS authentication
 
 # SYNOPSIS
 
index 457ef99401a0914ec6b4cb07f191bf0d6c640217..bc581d911b87e7529129b01eb8edd2cbe38e313d 100644 (file)
@@ -27,7 +27,7 @@ Pass a long as parameter, which is set to a bitmask, to tell libcurl which
 authentication method(s) are allowed for SOCKS5 proxy authentication. The only
 supported flags are *CURLAUTH_BASIC*, which allows username/password
 authentication, *CURLAUTH_GSSAPI*, which allows GSS-API authentication, and
-*CURLAUTH_NONE*, which allows no authentication. Set the actual user name and
+*CURLAUTH_NONE*, which allows no authentication. Set the actual username and
 password with the CURLOPT_PROXYUSERPWD(3) option.
 
 # DEFAULT
index 1127046af608e5280a850ef553e64117df83d493..e797499e7c37ebd6bc56fb552f00bca9c5b354f7 100644 (file)
@@ -11,7 +11,7 @@ See-also:
 
 # NAME
 
-CURLOPT_TLSAUTH_USERNAME - user name to use for TLS authentication
+CURLOPT_TLSAUTH_USERNAME - username to use for TLS authentication
 
 # SYNOPSIS
 
index f7481780197091a7891960586326e82682396681..269b846094c193730b19c35d8ebc942f4a99a3ef 100644 (file)
@@ -13,7 +13,7 @@ See-also:
 
 # NAME
 
-CURLOPT_USERNAME - user name to use in authentication
+CURLOPT_USERNAME - username to use in authentication
 
 # SYNOPSIS
 
@@ -27,9 +27,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_USERNAME,
 # DESCRIPTION
 
 Pass a char pointer as parameter, which should be pointing to the
-null-terminated user name to use for the transfer.
+null-terminated username to use for the transfer.
 
-CURLOPT_USERNAME(3) sets the user name to be used in protocol
+CURLOPT_USERNAME(3) sets the username to be used in protocol
 authentication. You should not use this option together with the (older)
 CURLOPT_USERPWD(3) option.
 
@@ -38,9 +38,8 @@ include the domain name in order for the server to successfully obtain a
 Kerberos Ticket. If you do not then the initial part of the authentication
 handshake may fail.
 
-When using NTLM, the user name can be specified simply as the user name
-without the domain name should the server be part of a single domain and
-forest.
+When using NTLM, the username can be specified simply as the username without
+the domain name should the server be part of a single domain and forest.
 
 To include the domain name use either Down-Level Logon Name or UPN (User
 Principal Name) formats. For example, **EXAMPLE\user** and
@@ -49,7 +48,7 @@ Principal Name) formats. For example, **EXAMPLE\user** and
 Some HTTP servers (on Windows) support inclusion of the domain for Basic
 authentication as well.
 
-To specify the password and login options, along with the user name, use the
+To specify the password and login options, along with the username, use the
 CURLOPT_PASSWORD(3) and CURLOPT_LOGIN_OPTIONS(3) options.
 
 The application does not have to keep the string around after setting this
index 01c65207a5dfba9c9ef0a4b774bb8629cc63ccf5..e78e11ddb8f4b1ce59769facb3435027fb4e189f 100644 (file)
@@ -12,7 +12,7 @@ See-also:
 
 # NAME
 
-CURLOPT_USERPWD - user name and password to use in authentication
+CURLOPT_USERPWD - username and password to use in authentication
 
 # SYNOPSIS
 
@@ -25,16 +25,15 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_USERPWD, char *userpwd);
 # DESCRIPTION
 
 Pass a char pointer as parameter, pointing to a null-terminated login details
-string for the connection. The format of which is: [user name]:[password].
+string for the connection. The format of which is: [username]:[password].
 
 When using Kerberos V5 authentication with a Windows based server, you should
-specify the user name part with the domain name in order for the server to
+specify the username part with the domain name in order for the server to
 successfully obtain a Kerberos Ticket. If you do not then the initial part of
 the authentication handshake may fail.
 
-When using NTLM, the user name can be specified simply as the user name
-without the domain name should the server be part of a single domain and
-forest.
+When using NTLM, the username can be specified simply as the username without
+the domain name should the server be part of a single domain and forest.
 
 To specify the domain name use either Down-Level Logon Name or UPN (User
 Principal Name) formats. For example **EXAMPLE\user** and **user@example.com**
@@ -55,8 +54,8 @@ based connections or CURLOPT_LOGIN_OPTIONS(3) to control IMAP, POP3 and
 SMTP options.
 
 The user and password strings are not URL decoded, so there is no way to send
-in a user name containing a colon using this option. Use
-CURLOPT_USERNAME(3) for that, or include it in the URL.
+in a username containing a colon using this option. Use CURLOPT_USERNAME(3)
+for that, or include it in the URL.
 
 The application does not have to keep the string around after setting this
 option.
index af91ea03e69da1a21882a57734191c053545b67e..d6cf901f4442a45317bf4a5888e1d2116cf97a0b 100644 (file)
@@ -27,8 +27,8 @@ Pass a char pointer as parameter, which should point to the null-terminated
 OAuth 2.0 Bearer Access Token for use with HTTP, IMAP, LDAP, POP3 and SMTP
 servers that support the OAuth 2.0 Authorization Framework.
 
-Note: For IMAP, LDAP, POP3 and SMTP, the user name used to generate the
-Bearer Token should be supplied via the CURLOPT_USERNAME(3) option.
+Note: For IMAP, LDAP, POP3 and SMTP, the username used to generate the Bearer
+Token should be supplied via the CURLOPT_USERNAME(3) option.
 
 The application does not have to keep the string around after setting this
 option.