Skip to content

Conversation

@tswast
Copy link
Contributor

@tswast tswast commented Oct 26, 2018

Per internal document go/api-url-encoding (approved on 2017-04-20),

the client library will %-encode everything except "/" and unreserved
characters, and the server will %-decode everything except "%2F"
and %2f

This is currently affecting a private API which passes a resource name
(containing slashes) as a query parameter over gRPC.

Per internal document go/api-url-encoding (approved on 2017-04-20), "the
client library will %-encode everything except "/" and unreserved
characters, and the server will %-decode everything except "%2F"
and %2f"

This is currently affecting a private API which passes a resource name
(containing slashes) as a query parameter over gRPC.
@tswast tswast requested a review from crwilcox as a code owner October 26, 2018 00:17
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 26, 2018
@tseaver tseaver merged commit e368317 into googleapis:master Oct 26, 2018
@tswast tswast deleted the api-url-encoding branch October 26, 2018 18:08
tseaver pushed a commit that referenced this pull request Oct 29, 2018
Per internal document go/api-url-encoding (approved on 2017-04-20), "the
client library will %-encode everything except "/" and unreserved
characters, and the server will %-decode everything except "%2F"
and %2f"

This is currently affecting a private API which passes a resource name
(containing slashes) as a query parameter over gRPC.

(cherry picked from commit e368317)
tseaver pushed a commit that referenced this pull request Oct 29, 2018
Per internal document go/api-url-encoding (approved on 2017-04-20), "the
client library will %-encode everything except "/" and unreserved
characters, and the server will %-decode everything except "%2F"
and %2f"

This is currently affecting a private API which passes a resource name
(containing slashes) as a query parameter over gRPC.

Toward #6326.

(cherry picked from commit e368317)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants