misterchen opened a new issue #4412:
URL: https://github.com/apache/apisix/issues/4412


   ### Issue description
   
   Is there a way to set route uri matching to be case-insensitive?
   
   Example :
   URI maching : /sampleweb/*
   
   Expect :
   /sampleweb/    ->   success
   /SampleWeb/   ->   success
   /Sampleweb/    ->   success
   
   Test :
   ```
   curl http://127.0.0.1:9080/sampleweb/
   -> success
   
   curl http://127.0.0.1:9080/SampleWeb/
   {"error_msg":"404 Route Not Found"}
   
   curl http://127.0.0.1:9080/Sampleweb/
   {"error_msg":"404 Route Not Found"}
   ```
   
   
   ### Environment
   
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`): 2.5
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 
openresty/1.19.3.1
   * etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): 
3.4.15
   * apisix-dashboard version, if have: 2.6
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to