docs: use valid example domain names

Replace .site domains and domain.com with valid example domains.

Fixes #16269
Closes #16270
This commit is contained in:
Terence Eden 2025-02-08 22:20:30 +00:00 committed by Daniel Stenberg
parent 116950a250
commit a042c67df3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 7 additions and 7 deletions

View 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;

View 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 */