-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skip parsing HttpBody field and pass query params as-is (#13679)
Check the request url, if there is any HttpBody, and `method_info->request_body_field_path` is not a prefix of `resolved_binding.field_path`, skip parsing HttpBody field. This avoid we may skip some HttpBody objects which were intended to be configurable by query arguments. Testing: Add a new unit test to cover the changes. Docs Changes: n/a Fixes #13634 Signed-off-by: Curry Xu <[email protected]>
- Loading branch information
Showing
3 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters