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/01/12 01:53:58 UTC

[GitHub] [apisix-dashboard] bzp2010 commented on issue #2284: APISIX DASHBOARD: how to use regex to strict match uri with both path and query params in a single request

bzp2010 commented on issue #2284:
URL: https://github.com/apache/apisix-dashboard/issues/2284#issuecomment-1010551170


   We don't have any formal way to do this work, even APISIX can't support it. But here we can do this indirectly using some methods.
   
   Firstly, using this function.
   ![image](https://user-images.githubusercontent.com/8078418/149049496-145566b9-051c-4fe5-8d9a-1c7de928a041.png)
   
   Config the uri match (the var `uri` is the pure URI and the `request_uri` will include query params `?xxx=xxx`)
   ![image](https://user-images.githubusercontent.com/8078418/149049562-c2327c2b-40e2-4a18-9a4f-8e74a44579ce.png)
   
   Config the query match
   ![image](https://user-images.githubusercontent.com/8078418/149049702-865fa14b-13e8-4741-ba74-82f6a5dc72e7.png)
   
   **However, keep in mind that this is not the "right" way to use it, and while it does work, it may cause performance degradation or other problems.**


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