Skip to content

Improvements for URLs to treat as internal domains #818

@choldgraf

Description

@choldgraf

Two things we'd like to enhance for internal_domains:

Protocol-relative URLs

One test case to consider is protocol-relative URLs (starting with //).

Domains with a . in the domain name

Multiple-level domains won't get caught:

isExternalUrl("https://mystmd.org.github.io/", "mystmd.org")

returns false.


Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions