Skip to content

fix: Improve domain matching in Requester.py#3399

Closed
ViktorWelbers wants to merge 1 commit intoPyGithub:mainfrom
ViktorWelbers:patch-1
Closed

fix: Improve domain matching in Requester.py#3399
ViktorWelbers wants to merge 1 commit intoPyGithub:mainfrom
ViktorWelbers:patch-1

Conversation

@ViktorWelbers
Copy link
Copy Markdown

@ViktorWelbers ViktorWelbers commented Oct 30, 2025

Enhance domain matching logic to support reverse checks.

Related to issues described in here: #3398

This PR enables the use of base_urls like "api.github.ORG.com" which would previously have failed to work.

Look into issue for a more detailed report.

Enhance domain matching logic to support reverse checks.
EnricoMi added a commit that referenced this pull request Nov 20, 2025
Supports enterprise base urls like `api.SUBDOMAIN.DOMAIN.TLD` to fetch
content from `SUBDOMAIN.DOMAIN.TLD`, while not allowing access to
`DOMAIN.TLD`.

Fixes #3398. Supersedes #3399.
@EnricoMi
Copy link
Copy Markdown
Collaborator

Superseded by #3419.

@EnricoMi EnricoMi closed this Nov 20, 2025
Copilot AI pushed a commit that referenced this pull request Mar 26, 2026
Supports enterprise base urls like `api.SUBDOMAIN.DOMAIN.TLD` to fetch
content from `SUBDOMAIN.DOMAIN.TLD`, while not allowing access to
`DOMAIN.TLD`.

Fixes #3398. Supersedes #3399.
Co-authored-by: EnricoMi <[email protected]>
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