Skip to content

add allow_ip flag availability from URL validator#800

Merged
azmeuk merged 1 commit into
pallets-eco:masterfrom
Fausterkun:add_allow_ip_at_url_validator
Oct 1, 2023
Merged

add allow_ip flag availability from URL validator#800
azmeuk merged 1 commit into
pallets-eco:masterfrom
Fausterkun:add_allow_ip_at_url_validator

Conversation

@Fausterkun
Copy link
Copy Markdown
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 pallets-eco:master Oct 1, 2023
@azmeuk
Copy link
Copy Markdown
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.

2 participants