PhilipCubix commented on PR #5840:
URL: https://github.com/apache/hop/pull/5840#issuecomment-3409899463

   So FYI, I was able to fix my problem using the following User defined Java 
expression:
   `java.net.URLEncoder.encode(path, "UTF-8").replaceFirst("%3F", 
"?").replace("+", "%20")`
   
   What would need to be done on the Rest Client is to:
   
   1. check if the url is valid, and does not contain 'illegal characters',
   2. only in case the url contains illegal characters, apply url encoding,
   3. add an option for encoding spaces as '%20' instead of '+',
   4. take care of the question mark
   
   So my pull request is not cutting this... :-(


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to