You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/29 12:22:15 UTC

[GitHub] [apisix] zxdvd commented on issue #5654: bug: URI encoding issue

zxdvd commented on issue #5654:
URL: https://github.com/apache/apisix/issues/5654#issuecomment-1081803301


   I also got this problem while trying to proxy `gerrit` and I found a lot of people got this. For nginx, there is workaround that using `request_uri` since it is not normalized by nginx. Like following from [stackoverflow](https://stackoverflow.com/a/34290612)
   ```
   location /path/ {
     if ($request_uri ~* "/path/(.*)") {
       proxy_pass http://tracking/webapp/$1;
     }
   }
   ```
   
   So how to achieve this using apisix? And it is possible to have a switch about the normalization in the future?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org