-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle escaped separators in Presto url_extract_parameter functi…
…on (#11540) Summary: Pull Request resolved: #11540 Presto Java supports the case where a separator ('=' or '&') is percent escaped in the query portion of the URL in url_extract_parameter. Velox currently only unescapes the value of the parameter once it's been found, so when a separator is escaped it breaks parsing the parameters in the query. This change fixes it so Velox's url_extract_parameter unescapes the query portion of the URL before searching for the parameter in it. Reviewed By: xiaoxmeng Differential Revision: D65967602 fbshipit-source-id: bbbdfbd40d5598a71e0adde5a3bb8d8a725956fe
- Loading branch information
1 parent
d06bdfa
commit bfaa9a3
Showing
2 changed files
with
29 additions
and
6 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