asaskevich / govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs
MIT License
6.02k stars 556 forks source link

IsURL does not accept domains with 3 consecutive hyphens #386

Open cmitsakis opened 4 years ago

cmitsakis commented 4 years ago

govalidator.IsURL("https://www.exa---mpl.com/") returns false although it's a valid domain name.

sergeyglazyrindev commented 2 years ago

Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.