asaskevich / govalidator

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

'%' was not support by IsURL #317

Open BruceWang666 opened 6 years ago

BruceWang666 commented 6 years ago

package main

import ( "fmt"

"github.com/asaskevich/govalidator"

)

func main() { fmt.Println(govalidator.IsDataURI("http://majesticraft.com/deedee/ke/fdee/purchase%order.doc")) fmt.Println(govalidator.IsURL("http://majesticraft.com/deedee/ke/fdee/purchase%order.doc")) }

output: false false

sergeyglazyrindev commented 3 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.

mhbahmani 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.

Hi! Please check this out https://github.com/sergeyglazyrindev/govalidator/pull/2