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 2021/07/06 02:05:37 UTC

[GitHub] [apisix] StretchV commented on issue #4536: request help: apisix似乎没有类似kong中strip_path这样的方法或插件

StretchV commented on issue #4536:
URL: https://github.com/apache/apisix/issues/4536#issuecomment-874407321


   @Yiyiyimu   你好,用regex_uri这个属性是不可以的,因为我不止是希望去掉前缀,而且我还希望path不被转义,因为我的业务中有类似http://www.XXXX.com/foo/qqqq%2Fqqqq/www,这样的请求,这种请求一被regex_uri之后,%2F就会被转义成"/",后端接受到的路径就是http://www.XXXX.com/qqqq/qqqq/www了,所以这种正则的重写方式是不可以的,所以我想问下有没有那种直接截断式的,但是我并没有在apisix中找到类似的方法


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