Skip to content

Fix domain allowlist matching and validate download start URLs - #100

Open
Slyrc wants to merge 2 commits into
woheller69:masterfrom
Slyrc:Fix-domain-allowlist-and-centralize-URL-validation
Open

Slyrc wants to merge 2 commits into
woheller69:masterfrom
Slyrc:Fix-domain-allowlist-and-centralize-URL-validation

Conversation

@Slyrc

@Slyrc Slyrc commented Sep 11, 2026

Copy link
Copy Markdown

Fixes incorrect allowlist matching that accepted unrelated hosts such as notopenai.com for openai.com. URL validation is centralized in DomainPolicy, requiring exact host matches or dot-separated subdomains.

Also adds missing URL validation for regular and image downloads before reading cookies or passing requests to DownloadManager.

Download validation covers initial URLs only, not subsequent redirects.

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.

1 participant