Skip to content

fix(client): validate base URLs before building endpoints - #117

Open
Chris0Jeky wants to merge 1 commit into
google:mainfrom
Chris0Jeky:codex/submit-baseurl-validation
Open

Chris0Jeky wants to merge 1 commit into
google:mainfrom
Chris0Jeky:codex/submit-baseurl-validation

Conversation

@Chris0Jeky

Copy link
Copy Markdown

Base URLs containing a query or fragment produce incorrect endpoint URLs. This rejects them at construction, along with userinfo, missing hosts and invalid ports. Path prefixes and IPv6 URLs still work.

All 21 client tests pass on Windows and Linux, including the new invalid-input and valid-URL cases. This is a bounded validation check, not a complete URL grammar validator.

Full locked tests retain the same 92 failing IDs and 11 lint findings as base; formatting and protected-core types pass.

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