Skip to content

Oracle proxy username with brackets rejected in connection URL #2454

@Deeven-Seru

Description

@Deeven-Seru

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.

Metadata

Metadata

Assignees

Labels

priority: p1Important 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.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions