Skip to content

Warn of detected absolute URLs while scanning build output via UrlCrawl #59

@Blazzike

Description

@Blazzike

PR #58 will introduce a UrlCrawl class/functionality that finds broken URLs. As a later feature, this class should also be able to find absolute URLs and print those as part of the final output.

Currently the output of failing HREFs prints as the following (note the first path is not actually the value of the href, absolute URLs are always displayed):

404 Not Found a[href="/tutorials/webgl/webgl_fundamentals/"] @ /webgl-transforms/

The detected absolute URLs could display along the lines of:

[!] Absolute a[href="/tutorials/webgl/webgl_fundamentals/"] @ /webgl-transforms/

Finally, this functionality ideally would be toggleable using a UrlCrawl option such as shouldWarnAbsolute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions