Skip to content

fix(client): percent-encode path parameters and reject dot segments - #121

Draft
tbarbugli wants to merge 3 commits into
masterfrom
tommaso/sec-2510-path-param-encoding
Draft

tbarbugli wants to merge 3 commits into
masterfrom
tommaso/sec-2510-path-param-encoding

Conversation

@tbarbugli

@tbarbugli tbarbugli commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Linear: SEC-2510

Summary

  • Percent-encode path parameter values with Uri.EscapeDataString in Client instead of raw string interpolation.
  • Reject empty strings and dot segments (. / ..) in path parameters.
  • Add unit tests in tests/PathParamEncodingTests.cs.

Testing

  • Opened as draft for CI to run make test on .NET 8/9.

This branch has not been deployed

No deployments
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