Skip to content

Flag localhost and raw IP addresses in external links as warnings #438

Description

@gonzalooherrero

Background

While reading the project's documentation, I noticed the following statement in the README.adoc under the "Broken HTTP Links" section:

"Localhost or numerical IP addresses are currently NOT marked as suspicious. Please comment in case you have additional requirements."

Problem

In production documentation or public-facing HTML pages, links pointing to localhost or raw numerical IP addresses are almost always accidental mistakes (e.g., a developer copying a local test link). If a generated document contains <a href="http://localhost:8080/guide">, it will be a broken link for the final end-user, but currently, HTML Sanity Check might not explicitly flag it as a bad practice or warning.

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