Skip to content

URL validation fails with localhost #2312

Description

@jalik

Describe the bug
string().url() does not pass with http://localhost:8080/path

To Reproduce
string().url().validate("http://localhost:8080/path")

Expected behavior
string().url().validate("http://localhost:8080/path") should pass.

Platform (please complete the following information):

  • Any Browser (tested on Firefox 144.0.2)
  • Any Version (tested on 1.6.1)

Additional context
It was already reported here #224 and #800 with PR, but not approved nor fixed.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions