Skip to content

gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs#129418

Merged
orsenthil merged 4 commits intopython:mainfrom
sethmlarson:bracketed-domains
Jan 31, 2025
Merged

gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs#129418
orsenthil merged 4 commits intopython:mainfrom
sethmlarson:bracketed-domains

Conversation

@sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Jan 28, 2025

Opening this pull request in favor of #111261, as the original author appears to not be responding to reviews. This moves the error to occur during parsing instead of on the ParseResult properties.

cc @gpshead @orsenthil @pschoen-itsc as reviewers on the previous PR.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants