You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When receiving a GET request like GET /books/something%26like%26this, the resource name books/something%26like%26this is passed in GetBookRequest.name field as it.
The tests in path_matcher_node_test.cc suggests this is the intended behavior. However, I found that fully_decode_reserved_expansion was added in http.proto. This new flag allows the user to force decoding of all %-encoded characters (if I understand it correctly), and it doesn't seem to have implemented in esp/grpc-httpjson-transcoding.
The text was updated successfully, but these errors were encountered:
ashi009
changed the title
%-encoded characters are not decoded during json-grpc transcoding
%-encoded characters in url path are not decoded during json-grpc transcoding
Aug 10, 2018
Running into the same issue. When we use our local grpc gateway (golang generated code), it does the right thing. However, ESP doesn't decode the values.
We have a rpc method like the following:
When receiving a GET request like
GET /books/something%26like%26this
, the resource namebooks/something%26like%26this
is passed inGetBookRequest.name
field as it.The tests in path_matcher_node_test.cc suggests this is the intended behavior. However, I found that
fully_decode_reserved_expansion
was added inhttp.proto
. This new flag allows the user to force decoding of all %-encoded characters (if I understand it correctly), and it doesn't seem to have implemented in esp/grpc-httpjson-transcoding.The text was updated successfully, but these errors were encountered: