-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes an issue when a special character uses some encoding. The value to the upstream API if the routing policy was used, is also encoded, so something like "/foo/test space" should land in APICast as: `/foo/test%20space/` And the path to the Upstream API should contain `test%20space`, but because `ngx.req.set_uri` mark the URL to be encoded again, the URL that will be received in the Upstream API will be `/test%2520space/` This commit keeps the URL encoding correctly across all the flow. Fix THREESCALE-5454 Signed-off-by: Eloy Coto <[email protected]>
- Loading branch information
Showing
3 changed files
with
71 additions
and
2 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