Repository navigation
fix: allow numeric DNS names through IPv4 URL guards - #5579
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughThe change adds ChangesNetwork blocking enforcement
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to The change allows numeric-label DNS hostnames while retaining existing URL blocking behavior and fallback handling. No current merge-blocking risk remains. Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant BrowserTest
participant installBlockedUrlGuard
participant toBlockedUrlRules
participant CDP Network
BrowserTest->>installBlockedUrlGuard: launch guarded browser
installBlockedUrlGuard->>CDP Network: enable network blocking
installBlockedUrlGuard->>CDP Network: install legacy blocked URLs
installBlockedUrlGuard->>toBlockedUrlRules: translate configured policies
toBlockedUrlRules-->>installBlockedUrlGuard: ordered URL rules or empty list
installBlockedUrlGuard->>CDP Network: install ordered rules
CDP Network-->>BrowserTest: block or allow navigation
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 ESLint
ESLint install failed: dependency version conflict. Check your lock file or package.json. A rabbit checks each rule, Comment |
|
Ready for human review: all 14 executed checks passed, including the six browser-image test jobs, lint, formatting, leak checks, and code scanning. Dependabot automerge was skipped; no checks are pending or failing. Devin found no issues and CodeRabbit reported no actionable comments on the current head. CodeRabbit’s auxiliary ESLint installation failed, but repository lint CI passed. No review findings required changes or rejection, and no review threads remain unresolved. The branch has no merge conflicts; human approval is still required. |
🤖 I have created a release *beep* *boop* --- ## [2.56.6](v2.56.5...v2.56.6) (2026-09-09) ### Bug Fixes * allow numeric DNS names through IPv4 URL guards ([#5579](#5579)) ([499dba1](499dba1)) * block IPv4 prefixes without a trailing dot ([#5577](#5577)) ([e81e99c](e81e99c)) * update Playwright to 1.63 with versioned compatibility ([#5573](#5573)) ([5c80510](5c80510)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: browserless-actions-bot[bot] <186328842+browserless-actions-bot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Summary
Allow dotted DNS names with numeric labels to load when IPv4 network ranges are blocked. For example,
127.0.0.1.example.testmust not be treated as an IPv4 address.Validation
Summary by CodeRabbit
Security Enhancements
Bug Fixes