Skip to content

fix(throttling-manager): Normalize configured domains the same way as crawled hostnames - #2157

Open
Mantisus wants to merge 1 commit into
apify:masterfrom
Mantisus:normaliz-domains
Open

fix(throttling-manager): Normalize configured domains the same way as crawled hostnames#2157
Mantisus wants to merge 1 commit into
apify:masterfrom
Mantisus:normaliz-domains

Conversation

@Mantisus

Copy link
Copy Markdown
Collaborator

Description

  • Configured domains now go through the same URL parsing and normalization as crawled URLs, so punycode, root-dotted and IPv6 spellings match. An entry the parser cannot read now raises ValueError instead of silently matching nothing.

Issues

Testing

  • Added new unit tests

@Mantisus
Mantisus requested a review from janbuchar August 14, 2026 17:33
@Mantisus Mantisus self-assigned this Aug 14, 2026
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.

ThrottlingRequestManager domain matching misses punycode, trailing dots and IPv6 literals

2 participants