Skip to content

[Backport release-1.17] fix: add DaprInvokeHttpClient.encodePath for URI path encoding#1779

Open
dapr-bot wants to merge 1 commit into
release-1.17from
backport-1774-to-release-1.17
Open

[Backport release-1.17] fix: add DaprInvokeHttpClient.encodePath for URI path encoding#1779
dapr-bot wants to merge 1 commit into
release-1.17from
backport-1774-to-release-1.17

Conversation

@dapr-bot

@dapr-bot dapr-bot commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Backport f42e0d2 from #1774.

newRequestBuilder resolves relativePath raw and now rethrows
IllegalArgumentException on illegal chars (e.g. spaces), pointing at
encodePath. encodePath percent-encodes each path segment, preserving
separators and a leading slash and appending any query unchanged,
mirroring DaprHttp/invokeMethod.

Signed-off-by: Javier Aliaga <javier@diagrid.io>
(cherry picked from commit f42e0d2)
@dapr-bot dapr-bot requested review from a team as code owners July 3, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants