Specify which documentation you found a problem with
|
curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site"); |
The problem
When this line of code was committed (23 years ago!) .site was not a valid TLD. Now it is.
Can I suggest changing HTTPS://your.favourite.ssl.site to HTTPS://secure.example.tld or HTTPS://secure.example.test or similar?
While it is unlikely someone would maliciously register ssl.site, it probably makes sense to have it as obvious as possible that the code is for a placeholder domain.
Happy to send a PR if you think it is useful.
Specify which documentation you found a problem with
curl/docs/examples/simplessl.c
Line 85 in 6855546
The problem
When this line of code was committed (23 years ago!) .site was not a valid TLD. Now it is.
Can I suggest changing
HTTPS://your.favourite.ssl.sitetoHTTPS://secure.example.tldorHTTPS://secure.example.testor similar?While it is unlikely someone would maliciously register
ssl.site, it probably makes sense to have it as obvious as possible that the code is for a placeholder domain.Happy to send a PR if you think it is useful.