Skip to content

Conversation

@automationator
Copy link
Contributor

Previously, a URL like http://xn----gtbybh.xn--p1ai/1/asdf would fail validation since the regex only allowed for 2 hyphens after the "xn". However, certain encodings allow for up to 4 of them. This PR fixes that issue.

@simon-liebehenschel
Copy link

@kvesteri Could you please give an update about pending pull requests? Are help and new contributions accepted?

@kvesteri kvesteri merged commit 67c57f4 into python-validators:master Jun 5, 2022
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jun 19, 2022
https://build.opensuse.org/request/show/982861
by user mia + dimstar_suse
- Update to 0.20.0
  * Add ipv4 digit lenghts validation
    (gh#python-validators/validators#191)
  * Fix error with international URLs that have more than 2 hyphens
    (gh#python-validators/validators#184)
Changes in 0.19.0:
  * Improve IPv6 validation
    (gh#python-validators/validators#201 gh#python-validators/validators#107)
  * Drop support for Python 3.4
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.

3 participants