Skip to content

Speed up URL validation on hostnames with many dashes - #947

Merged
azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:fix/hostname-redos
Oct 24, 2026
Merged

azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:fix/hostname-redos

Conversation

@azmeuk

@azmeuk azmeuk commented Oct 24, 2026

Copy link
Copy Markdown
Member

fixes #945

@azmeuk
azmeuk merged commit 1493343 into pallets-eco:main Oct 24, 2026
18 checks passed
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.

URL(): hostname check backtracks exponentially on labels with many dashes (ReDoS)

1 participant