Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not put any limit on maximum URL length #478

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ashishshinde-pubm
Copy link

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 and others added 2 commits July 22, 2022 12:57
Renamed the module name so that it can be fetched using go get command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant