#2312·yup

URL validation fails with localhost

Author: jalikCreated Nov 5, 2025Updated Jan 9, 2026

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.