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

add allow_ip flag availability from URL validator #800

Merged
merged 1 commit into from Oct 1, 2023

Conversation

Fausterkun
Copy link
Contributor

URL validator validate url and ip (without possibility to exclude ip). That because in URL.call method at initialization HostnameValidation allow_ip flag hard-coded to True.

Added argument allow_ip to URL.init method.

@azmeuk azmeuk merged commit 1afceb2 into wtforms:master Oct 1, 2023
7 checks passed
@azmeuk
Copy link
Member

azmeuk commented Oct 1, 2023

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants