Skip to content

fix(http): reject empty and dot-segment path parameters - #341

Draft
tbarbugli wants to merge 1 commit into
mainfrom
tommaso/sec-2516-path-segment-validation
Draft

tbarbugli wants to merge 1 commit into
mainfrom
tommaso/sec-2516-path-segment-validation

Conversation

@tbarbugli

@tbarbugli tbarbugli commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Linear: SEC-2516

Summary

  • Validate path parameter values in BaseClient._build_path() to reject None, empty strings, and dot segments (. / ..) before formatting URLs.
  • Add unit tests in tests/test_path_params.py.

Testing

  • make lint && make test (ruff check/format clean, 541 pytest unit tests passing)

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