Skip to content

Commit 5f118ad

Browse files
bfabionodivbyzero
andauthored
Update baked_in.go
Co-authored-by: nodivbyzero <[email protected]>
1 parent 1efc4b9 commit 5f118ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baked_in.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ func isURL(fl FieldLevel) bool {
14751475
}
14761476

14771477
url, err := url.Parse(s)
1478-
if err != nil || url.Scheme == "" {
1478+
if err != nil {
14791479
return false
14801480
}
14811481

0 commit comments

Comments
 (0)