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/12/08 04:22:54 UTC

[GitHub] [apisix-dashboard] 840963657 commented on issue #2687: bug: dashboard should not support '!' in vars.

840963657 commented on issue #2687:
URL: https://github.com/apache/apisix-dashboard/issues/2687#issuecomment-1341978273

   1、create route, add vars in route,operator use '!',like this:
   {
     "uri": "/*",
     "name": "test",
     "methods": [
       "GET"
     ],
     "vars": [
       [
         "http_test1",
         "~=",
         "123"
       ]
     ],
   .......
   2、view apisix's error.log file:
   2022/12/08 10:57:25 [error] 6804#6804: *2355864 [lua] config_etcd.lua:573: failed to fetch data from etcd: failed to check item data of [/apisix/routes] err:failed to validate the 'vars' expression: invalid operator '!',  etcd key: /apisix/routes, context: ngx.timer


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