Repository navigation
Conversation
he-yufeng
force-pushed
the
fix/oauth-redirect-uri-url-subtypes-v2
branch
from
May 31, 2026 23:59
062b5b4 to
ffea4ae
Compare
he-yufeng
force-pushed
the
fix/oauth-redirect-uri-url-subtypes-v2
branch
from
June 4, 2026 20:42
ffea4ae to
99b80b5
Compare
Author
|
Covered the additional collection inputs in The before-validator now normalizes Validation: |
Author
|
Closing this older redirect URI normalization path in favor of #2808. The newer PR now includes the tuple/set/frozenset collection coverage from this branch, so review can continue on one green, current path. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
redirect_urisvalues at the OAuth client metadata boundaryAnyUrl, and URL subtype inputs serializing the same wayAnyHttpUrlregistration followed byAnyUrlredirect validationTo verify
.\.venv\Scripts\python.exe -m pytest tests\shared\test_auth.py -q.\.venv\Scripts\python.exe -m ruff check src\mcp\shared\auth.py tests\shared\test_auth.py.\.venv\Scripts\python.exe -m ruff format --check src\mcp\shared\auth.py tests\shared\test_auth.pygit diff --checkRefs #2687