Skip to content

Look at explicit port for cross-origin detection #596

@brunosedler

Description

@brunosedler

Bug description

By default, unpoly does not follow links if the href does not contain the current application host. However, hrefs that contain a port do not match the application-host-regex and are therefore not followed by unpoly by default.
The crossOrigin function needs to be adapted accordingly.

Expected behavior

Links to the same domain, that also include a port in the href should also be followed by unpoly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions