yasser-mas2 commented on issue #5654:
URL: https://github.com/apache/apisix/issues/5654#issuecomment-985218276
> > { "uris": [ "/api/v1/groups/_" ], "name": "by_groupId", "desc": "by
group by id", "methods": [ "GET" ], "plugins": { "key-auth": { "disable": false
}, "proxy-rewrite": { "regex_uri": [ "/api(/v1/groups/._)", "$1" ] } },
"service_id": "379565504387351559", "upstream_id": "379565438486447111",
"labels": { "API_VERSION": "1.0" }, "status": 1 }
>
> The regex pattern is `\/api(\/v1\/groups\/._`, is this correct?
This is the regex `/api(/v1/groups/.*)`, and it should be replaced by `$1`
( group 1 ).
Regex is matched and the url redirected to the proper server, but url is
decoded!! Not encoded, and my application server is rejecting such characters
`<>[]{}|\`
--
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]