Skip to content

Example documentation doesn't use an example domain #16269

@edent

Description

@edent

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions