stutipatelorigo edited a comment on issue #2284:
URL:
https://github.com/apache/apisix-dashboard/issues/2284#issuecomment-1022765859
hi @juzhiyuan , I am still not sure about this. I tried. It seems like We
can declare a global uri for many matching urls but not the specific one which
is vulnurable at some point.
for e.g. If i have below urls to create in apisix routes:
1. GET /users/{username}
2. GET /users/{username}/authorities
3. GET /users/{username}/tenants
4. GET /users/{username}/tenants/{tenantCode}}
etc....
only one route path in apisix matches all i.e.
PATH = /users/*
which is not quite correct;
Also if i declate a different route like below to redirect to another url
how to do it ?
for e.g. PATH /sw/users/* SHOULD REDIRECT TO
"http://localhost/users/{username}"
how to use regex uri here?
--
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]