Skip to content

Fix #7209: Handle trailing dot in FQDN URLs to prevent redirect loop#7338

Open
MuraveyApp wants to merge 1 commit intopsf:mainfrom
MuraveyApp:fix/7209-trailing-dot-redirect
Open

Fix #7209: Handle trailing dot in FQDN URLs to prevent redirect loop#7338
MuraveyApp wants to merge 1 commit intopsf:mainfrom
MuraveyApp:fix/7209-trailing-dot-redirect

Conversation

@MuraveyApp
Copy link
Copy Markdown

Summary

  • Fixes infinite redirect loop when requesting FQDN URLs with trailing dot (e.g. https://pyropus.ca./)
  • URL normalization now strips trailing dot before redirect comparison

Test plan

  • Verify requests.get("https://pyropus.ca./") no longer raises TooManyRedirects
  • Existing test suite passes

Generated by OwlMind — 95% on SWE-bench Lite

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