Skip to content

Normalize address-bar schemes and host:port inputs before URL validation #546

Description

@dajiaohuang

The address normalizer preserves any input matching the scheme regex, but its allow check accepts only lowercase http:// and https://. Uppercase-scheme URLs such as HTTPS://example.org are silently rejected, and common non-loopback host:port values such as �xample.org:8080 are mistaken for a scheme and discarded. Canonicalize allowed scheme casing and distinguish a host/port from an arbitrary URI scheme before validation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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