apisix-ingress-controller
apisix-ingress-controller copied to clipboard
How can I get value for path variable ?
Issue description
I define Apisix Route and use exprs field :
- name: test match: hosts: - service.xx.cn paths: - /aaa/:var1/test exprs: - subject: scope: Path or Query ? name: var1 op: RegexMatch value: "^[^/]{16,}"
I want get the ### va1 value and use exprs to filter request ,so how to write ?
Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
- your Kubernetes cluster version (output of kubectl version):
- if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
@tao12345666333 Do you know about the issue?
you can see https://github.com/api7/lua-resty-expr docs.
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.