]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
badwords: fix typos found
authorViktor Szakats <commit@vsz.me>
Wed, 14 Jan 2026 01:07:23 +0000 (02:07 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 14 Jan 2026 02:11:33 +0000 (03:11 +0100)
Not caught in CI.

Closes #20308

docs/HSTS.md
docs/MANUAL.md
docs/TheArtOfHttpScripting.md
docs/libcurl/curl_mime_filename.md
docs/libcurl/libcurl.m4
docs/libcurl/opts/CURLOPT_COOKIELIST.md
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_HTTPPOST.md
docs/libcurl/opts/CURLOPT_NOPROXY.md
tests/http/testenv/curl.py

index 85140ab30f048004115102f166e1837726d4c3fd..33948bb3e6a84a7301e63fe9c354208c9b35f3d6 100644 (file)
@@ -36,9 +36,9 @@ Lines starting with `#` are ignored.
 
 For each hsts entry:
 
-    [host name] "YYYYMMDD HH:MM:SS"
+    [hostname] "YYYYMMDD HH:MM:SS"
 
-The `[host name]` is dot-prefixed if it includes subdomains.
+The `[hostname]` is dot-prefixed if it includes subdomains.
 
 The time stamp is when the entry expires.
 
index c52e231bdc47e731edba07df3ce771b8c5397fe8..5ee3aa9f7b7f64ddee663bbc659b2d7a2c26b770 100644 (file)
@@ -594,7 +594,7 @@ line parameter, like:
 Force curl to get and display a local help page in case it is invoked without
 URL by making a config file similar to:
 
-    # default url to get
+    # default URL to get
     url = "https://help.with.curl.example.com/curlhelp.html"
 
 You can specify another config file to be read by using the `-K`/`--config`
index bab52cca47b3841589d948322a65f84638148a10..8af6efa6cb54b949e46b3ed59bcf3a568b2b8e6a 100644 (file)
@@ -385,7 +385,7 @@ SPDX-License-Identifier: curl
 
  To tell curl to use a user and password for authentication:
 
-    curl --user name:password https://www.example.com
+    curl --user myname:password https://www.example.com
 
 ## Other Authentication
 
index d52ce739e07e5ca85e4cc3188ff39280b06967f2..d54f36032b494e1f9e482d288706ddc03ce624a8 100644 (file)
@@ -68,7 +68,7 @@ int main(void)
     /* send image data from memory */
     curl_mime_data(part, imagebuf, sizeof(imagebuf));
 
-    /* set a file name to make it look like a file upload */
+    /* set a filename to make it look like a file upload */
     curl_mime_filename(part, "image.png");
 
     /* set name */
index 96248ddc25f43839543fcd0159347c86fddfef13..6ff52cc1b41ac1ccd12e46f42c082835f387bf17 100644 (file)
@@ -46,7 +46,7 @@
 # variables $libcurl_feature_xxx and $libcurl_protocol_yyy are also
 # defined to 'yes' for those features and protocols that were found.
 # Note that xxx and yyy keep the same capitalization as in the
-# curl-config list (e.g. it's "HTTP" and not "http").
+# curl-config list (e.g. it is "HTTP" and not "http").
 #
 # Users may override the detected values by doing something like:
 # LIBCURL="-lcurl" LIBCURL_CPPFLAGS="-I/usr/myinclude" ./configure
index 5124a53e64b6dec63338ce3ddf1f20130fe237fe..29ee3dfb8637a2b1c4ca48eac5089f021e8c659a 100644 (file)
@@ -98,7 +98,7 @@ int main(void)
     /* The list of cookies in cookies.txt are not be imported until right
        before a transfer is performed. Cookies in the list that have the same
        hostname, path and name as in my_cookie are skipped. That is because
-       libcurl has already imported my_cookie and it's considered a "live"
+       libcurl has already imported my_cookie and it is considered a "live"
        cookie. A live cookie is not replaced by one read from a file.
     */
     curl_easy_setopt(curl, CURLOPT_COOKIEFILE, "cookies.txt");  /* import */
index 1e307af3136e8ec1875e8e640481c7d88c909153..3feee962e496f61b772cf5b449ef6dbf9debe639 100644 (file)
@@ -74,7 +74,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_DOH_URL,
                      "https://cloudflare-dns.com/dns-query");
 
-    /* Disable host name verification of the DoH server */
+    /* Disable hostname verification of the DoH server */
     curl_easy_setopt(curl, CURLOPT_DOH_SSL_VERIFYHOST, 0L);
 
     curl_easy_perform(curl);
index e45538b76243c6c4e444f0949a364f0bfb36628b..526f1d9e41e6558eb91cb9dde79b79868fe249be 100644 (file)
@@ -61,7 +61,7 @@ int main(void)
   struct curl_httppost *lastptr;
 
   /* Fill in the file upload field. This makes libcurl load data from
-     the given file name when curl_easy_perform() is called. */
+     the given filename when curl_easy_perform() is called. */
   curl_formadd(&formpost,
                &lastptr,
                CURLFORM_COPYNAME, "sendfile",
index 40f3d4cc65470ea8c793e05442e2fd982f1a7fb2..8c0b45edcd7fd3e3c5b53f2d52f5250348f59d13 100644 (file)
@@ -77,7 +77,7 @@ int main(void)
     curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
     /* use this proxy */
     curl_easy_setopt(curl, CURLOPT_PROXY, "http://proxy.example:80");
-    /* ... but make sure this host name is not proxied */
+    /* ... but make sure this hostname is not proxied */
     curl_easy_setopt(curl, CURLOPT_NOPROXY, "www.example.com");
     curl_easy_perform(curl);
   }
index 07430d000b3aaee34eaba90e19e5cf369abd426a..129abf0ec412a8c5011ee5795d05185095ea4dec 100644 (file)
@@ -526,7 +526,7 @@ class ExecResult:
         }
         # stat keys where we expect a positive value
         ref_tl = []
-        # time_queue has it's own start timestamp. Other timers start *after*
+        # time_queue has its own start timestamp. Other timers start *after*
         # queueing is done. queue duration might therefore be anywhere.
         somewhere_keys = ['time_queue']
         exact_match = True