Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
fix(validator): ValidateURL modify to IsRequestURL
Browse files Browse the repository at this point in the history
Signed-off-by: qwqcode <[email protected]>
  • Loading branch information
qwqcode committed Apr 26, 2022
1 parent d03534f commit 2ad6864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func ValidateEmail(email string) bool {
}

func ValidateURL(url string) bool {
return govalidator.IsURL(url)
return govalidator.IsRequestURL(url)
}

//#endregion

0 comments on commit 2ad6864

Please sign in to comment.