chilcano commented on issue #9818:
URL: https://github.com/apache/apisix/issues/9818#issuecomment-1635709395

   The previous APISIX route will not work with complex URIs, for example, this 
url `http://local-apisix:9080/api01/https://any-server:8443/abc123` is not 
going to work properly, to fix that the uri part such as 
`https://any-server:8443/abc123` should hex encode the special chars and update 
the APISIX Route.
   
   - Update the APISIX route with `socket.url.unescape(last_uri_part)` to 
unescape the incoming URI
   - Encode the URI: 
`http://local-apisix:9080/api01/https%3a%2f%2fany%2dserver%3a8443%2fabc123`
   
   That said, I'll close the issue.
   Thanks.
   
   


-- 
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