在 localhost 上进行 URL 验证失败
作者: jalik创建于 2025年11月5日更新于 2026年1月9日
描述错误
string().url() 无法通过 http://localhost:8080/path
如何重现
string().url().validate("http://localhost:8080/path")
预期行为
string().url().validate("http://localhost:8080/path") 应该通过。
内容来源: jquense/yup