Skip to content

Fix Cross-Domain Bug#363

Merged
payoub125 merged 5 commits intodevelopfrom
fix-cross-domain
Apr 2, 2026
Merged

Fix Cross-Domain Bug#363
payoub125 merged 5 commits intodevelopfrom
fix-cross-domain

Conversation

@payoub125
Copy link
Copy Markdown
Contributor

@payoub125 payoub125 commented Apr 2, 2026

Note

Low Risk
Low risk: a small, targeted change to redirect-host comparison logic; behavior only changes for redirects that differ by port/userinfo but share the same hostname.

Overview
Fixes cross-domain redirect detection in both headless and standard request flows by comparing Hostname() instead of Host when deciding whether to block redirects.

This prevents same-host redirects that only change port (or other Host components) from being incorrectly flagged as cross-domain when IgnoreCrossDomainRedirects is enabled.

Written by Cursor Bugbot for commit 157ea79. This will update automatically on new commits. Configure here.

@payoub125 payoub125 self-assigned this Apr 2, 2026
Base automatically changed from add-log-err to develop April 2, 2026 18:07
@payoub125 payoub125 enabled auto-merge (squash) April 2, 2026 18:10
@payoub125 payoub125 merged commit cfb374c into develop Apr 2, 2026
15 checks passed
@payoub125 payoub125 deleted the fix-cross-domain branch April 2, 2026 18:29
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.

2 participants