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

Url validation #15

Open
devikasondhi opened this issue Apr 13, 2020 · 0 comments
Open

Url validation #15

devikasondhi opened this issue Apr 13, 2020 · 0 comments

Comments

@devikasondhi
Copy link

Hello,

Here are some scenarios where is_url shows unexpected behaviour:

  1. http://google.abcdefghi is valid but is_url states False in its test suite- constraining TLD to length 6 but TLD length specified by RFC 1034 is 63 octets. Real TLDs available here of length >6 http://data.iana.org/TLD/tlds-alpha-by-domain.txt
  2. url with host ending in dot: http://www.foo.bar./ is valid as per https://www.w3.org/Addressing/URL/url-spec.txt#page13 while is_url returns False
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

No branches or pull requests

1 participant