govalidator icon indicating copy to clipboard operation
govalidator copied to clipboard

Do not put any limit on maximum URL length

Open ashishshinde-pubm opened this issue 2 years ago • 0 comments

Limitation : Current implementation of IsURL function simply returns false (URL as invalid) if length of URL is more than 2082 runes/characters. It does not check if the URL is valid based on regex and URL-parsing.

Approach Remove the if-check present on maximum length and allow the function to check if the URL is valid based on regex and URL-parsing.

ashishshinde-pubm avatar Jul 22 '22 08:07 ashishshinde-pubm