-
-
Notifications
You must be signed in to change notification settings - Fork 24
Use URI.encode_www_form_component instead of URI.encode
#157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Use URI.encode_www_form_component instead of URI.encode
#157
Conversation
Update Ruby version to 3.0. Co-authored-by: Johannes Haass <johannes.haass@sap.com>
|
The PR does not seem to fix the problem, there are still errors. |
|
I've tested different "encoders" and compared them with I've encoded this test string with the currently used implementation, with The exact same result can be achieved by replacing Question: Is there a reason why the pipe symbol ( |
@johha @philippthun still having errors now ? |
|
@jiangytcn We've opened a new PR (#158) with which we could successfully run our deploy pipeline on AliCloud (still only a development environment with a limited set of components). We can close this PR and move on to the new one. It would still be good to get an answer for my question raised above about the pipe symbol. I guess we could replace... ... with... ..., or is there a reason for the special handling of |
I would ask @xiaozhu36 to answer that, do you know the reasons of the |
|
I suggest to close this PR. The change is included in #158. |
Replace
URI.encodewithURI.encode_www_form_componentto make gem compatible to Ruby version to 3.x.The integration tests passed successfully however there might be some specials case as previously only certain characters (
'/[^!*\'()\;?:@#&%=+$,{}[]<>" '`) where encoded. Therefore a thorough review is needed before merging this PR.Related to #156.