-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Oracle proxy username with brackets rejected in connection URL #2454
Copy link
Copy link
Closed
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.status: help wantedStatus: Unplanned work open to contributions from the community.Status: Unplanned work open to contributions from the community.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.status: help wantedStatus: Unplanned work open to contributions from the community.Status: Unplanned work open to contributions from the community.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Tracking from googleapis/mcp-toolbox-sdk-python#532. The issue seems to be strict URL parsing of Oracle proxy usernames like
user[client]in connection URLs. Brackets are invalid in URL userinfo, so parsers reject; percent-encoding may pass parsing but not be decoded before reaching the Oracle driver, causing auth failure.Suggested fix: decode percent-encoded usernames before passing to the driver, or avoid strict URL parsing for userinfo and construct DSN/username explicitly (e.g., use
URL.create()equivalent in Go or split config fields).Workaround: avoid URL strings for proxy users; pass proxy user separately via structured config/driver options if supported.