Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.
This repository was archived by the owner on May 22, 2019. It is now read-only.

UrlRule should not accept arbitrary strings like "localhost" and prefix them #5

@graste

Description

@graste

By default it seems to be wiser to not add a default scheme to arbitrary strings.

as…üdfasdf.de/asdf is accepted and results in http://as…üdfasdf.de/asdf - notice the ellipsis character and umlaut character in the domain part. Neither parse_url nor FILTER_VALIDATE_URL seem to have an issue and the IDN checking doesn't seem to run or help as well?

Metadata

Metadata

Assignees

No one assigned

    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