go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.65k stars 1.32k forks source link

fix file URL validator #1171

Closed nodivbyzero closed 11 months ago

nodivbyzero commented 1 year ago

Fixes Or Enhances

This PR adds an additional check for the file URL schema. Connected to #1165

Make sure that you've checked the boxes below before you submit PR:

@go-playground/validator-maintainers

coveralls commented 1 year ago

Coverage Status

coverage: 73.864% (+0.02%) from 73.849% when pulling ed3b91176879a42dfd92760fab296c8e5190bb22 on nodivbyzero:file-url-validator-fix into 8d50f2fd8c2f02fbdf1d44d66171b955c2f4eb50 on go-playground:master.