-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed decoding from Body Template Expansion (#931)
Removed decoding from Body Template Expansion Fixes #916 In certain cases, a Body Template will contain a JSON payload. To support this we are asking users to pct-encode the beginning and the end of the JSON object when providing it to the RequestLine so we don't reject it as an expression. Doing this requires that the we decode those markers before submitting the request. This change updates that logic to only decode the first and last characters only and not decode the entire payload, since Body values don't require any type of encoding.
- Loading branch information
Showing
2 changed files
with
46 additions
and
13 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