suninuni opened a new issue, #1168:
URL: https://github.com/apache/apisix-ingress-controller/issues/1168

   ### Issue description
   
   I want to match the url like `http://xxx?accountId=111`,  but I found `the 
scope.name` will be format as lower case, such as `accountId` will be changed 
to `accountid` which can only match the url like `http://xxx?accountid=111`
   
   I create the ApisixRoute like this
   
   ```yaml
       match:
         exprs:
         - op: In
           set:
           - "111"
           subject:
             name: accountId
             scope: Query
   ```
   
   And the route in apisix is:
   
   ```json
   {
       "action": "get",
       "count": 1,
       "node": {
           "key": "\/apisix\/routes\/3747de50",
           "value": {
               "labels": {
                   "managed-by": "apisix-ingress-controller"
               },
               "create_time": 1658132745,
               "name": "isolation-with-query",
               "hosts": [
                   "xxx"
               ],
               "status": 1,
               "desc": "Created by apisix-ingress-controller, DO NOT modify it 
manually",
               "update_time": 1658132745,
               "priority": 10,
               "vars": [
                   [
                       "arg_accountid",
                       "in",
                       [
                           "111"
                       ]
                   ]
               ],
               "id": "3747de50",
               "upstream_id": "be16542f",
               "uris": [
                   "\/*"
               ]
           }
       }
   }
   ```
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long): 1.4


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

Reply via email to