Skip to content

fix: preserve semicolon path parameters in DPoP proofs - #607

Draft
Kayvan-Zahiri wants to merge 1 commit into
okta:masterfrom
Kayvan-Zahiri:codex/preserve-dpop-path-parameters
Draft

Kayvan-Zahiri wants to merge 1 commit into
okta:masterfrom
Kayvan-Zahiri:codex/preserve-dpop-path-parameters

Conversation

@Kayvan-Zahiri

Copy link
Copy Markdown

DPoP proofs currently drop semicolon parameters from the last URL path segment, so the signed htu does not match the requested HTTP URI. Use urlsplit/urlunsplit to preserve the complete path, while still removing query and fragment.

Three semicolon cases fail before this patch; encoded semicolons and parameters in earlier path segments pass as controls. New regression verifies the actual generated JWT signature using the public JWK, then checks its htu. All 85 DPoP tests and five subtests pass; the remaining 239 non-integration tests pass. Repository fatal Flake8 check and diff check pass. Python3.12, pinned requirements; no live Okta organization calls or full Python matrix.

The Okta CLA was electronically signed and emailed to CLA@okta.com on October 27, 2026, following explicit contributor authorization. Okta recording/confirmation is pending.

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