Skip to content

Url Validation #155

Description

@devikasondhi

Hello,

Here are some scenarios where url shows unexpected behaviour:

  1. url('http://:pass@www.apache.org:80/path') returns True while it should throw ValidationFailure as it is invalid userinfo and password format (missing user). A valid one: http://user:pass@www.apache.org:80/path
  2. no check on ports above max limit of 16-bit unsigned integer: validation http://example.rocks:65536/ should fail
  3. http://www.example.org/../world is invalid but url gives True. http://www.example.org/.. also should be invalid
  4. A test from validators library, http://a.b--c.de/ should be valid as per https://tools.ietf.org/html/rfc3986#page-49 but it throws ValidationFailure

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

    bugIssue: Works not as designedoutdatedIssue/PR: Open for more than 3 months

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions