]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: use valid example domain names
authorTerence Eden <edent@users.noreply.github.com>
Sat, 8 Feb 2025 22:20:30 +0000 (22:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 8 Feb 2025 23:17:05 +0000 (00:17 +0100)
Replace .site domains and domain.com with valid example domains.

Fixes #16269
Closes #16270

docs/MANUAL.md
docs/cmdline-opts/netrc.md
docs/examples/simplessl.c
docs/libcurl/libcurl-tutorial.md
lib/cookie.c
lib/urlapi.c

index 9e4ad58452afb588a75df803008e354ebd09fbdd..9ff5c097c7f75758d81ef6bc96296b09f42e23b2 100644 (file)
@@ -582,7 +582,7 @@ Example, set default time out and proxy in a config file:
     # We want a 30 minute timeout:
     -m 1800
     # ... and we use a proxy for all accesses:
-    proxy = proxy.our.domain.com:8080
+    proxy = proxy.our.domain.example.com:8080
 
 Whitespaces ARE significant at the end of lines, but all whitespace leading
 up to the first characters of each line are ignored.
index 2b03e2e7196fb81b01b3f758558c4a388ccb41b4..3e9fcb19630abce1deee1f56748fe42287b33474 100644 (file)
@@ -30,9 +30,9 @@ On Windows two filenames in the home directory are checked: *.netrc* and
 only.
 
 A quick and simple example of how to setup a *.netrc* to allow curl to FTP to
-the machine host.domain.com with username 'myself' and password 'secret' could
+the machine host.example.com with username 'myself' and password 'secret' could
 look similar to:
 
-    machine host.domain.com
+    machine host.example.com
     login myself
     password secret
index 7ab0d8a667e2e498ae23e8e22e472526d07b3e5a..f9c0a78d6012f71ced49f27d6e706803a723320d 100644 (file)
@@ -82,7 +82,7 @@ int main(void)
   curl = curl_easy_init();
   if(curl) {
     /* what call to write: */
-    curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site");
+    curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://secure.site.example");
     curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile);
 
 #ifdef _MSC_VER
index 7c59e2f88c0e7b2239db8cae2e09dfd93e34c2b3..8c8c483d1625f031ceca70e37e49079df153eb46 100644 (file)
@@ -194,7 +194,7 @@ One of the most basic properties to set in the handle is the URL. You set your
 preferred URL to transfer with CURLOPT_URL(3) in a manner similar to:
 
 ~~~c
- curl_easy_setopt(handle, CURLOPT_URL, "http://domain.com/");
+ curl_easy_setopt(handle, CURLOPT_URL, "http://example.com/");
 ~~~
 
 Let's assume for a while that you want to receive data as the URL identifies a
index 6fe949b56f8e0a7d8552eaa90a5edf904bb4e1b7..9819768454f3725e3e91a362b1c5c4a3608fcea0 100644 (file)
@@ -879,7 +879,7 @@ parse_netscape(struct Cookie *co,
       /*
        * flag: A TRUE/FALSE value indicating if all machines within a given
        * domain can access the variable. Set TRUE when the cookie says
-       * .domain.com and to false when the domain is complete www.domain.com
+       * .example.com and to false when the domain is complete www.example.com
        */
       co->tailmatch = !!strncasecompare(ptr, "TRUE", len);
       break;
index d9b04e37302c285a221bba526b32b1545f363441..2368bd79b588aec3732a6232df231440c57ecf79 100644 (file)
@@ -395,7 +395,7 @@ static CURLUcode parse_hostname_login(struct Curl_URL *u,
 
   /* We will now try to extract the
    * possible login information in a string like:
-   * ftp://user:password@ftp.my.site:8021/README */
+   * ftp://user:password@ftp.site.example:8021/README */
   ptr++;
 
   /* if this is a known scheme, get some details */