deadlinks / cargo-deadlinks

Cargo subcommand for checking your documentation for broken links
Apache License 2.0
149 stars 16 forks source link

Use 404 pages on example.com instead of a non-existent DNS #122

Closed jyn514 closed 3 years ago

jyn514 commented 3 years ago

On ISPs that 'helpfully' redirect requests to a website with a non-existent DNS, the test would previously fail, since the page returned 200, not 404. Use a non-existent page on example.com instead, which should hopefully be more resilient to malicious/unthinking actors.