-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: How to deal with arg with dash in the plugin's setting #4519
Labels
good first issue
Good for newcomers
Comments
We can do the same trick like Line 151 in 3878555
PR is welcome! |
get it, I will submit a pr |
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Jul 26, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Jul 27, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Jul 30, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Jul 30, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Jul 30, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 3, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 3, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 3, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 3, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 3, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 4, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 4, 2021
nanamikon
pushed a commit
to nanamikon/apisix
that referenced
this issue
Aug 5, 2021
spacewander
pushed a commit
that referenced
this issue
Aug 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
Some plugins support vars matching, such as traffic-split.
If I want to check an arg with dash (ex: test-name), I have to get this arg using regex from nginx.var.args refer to https://marc.info/?l=nginx&m=141589036701879&w=2.
So how to match this type of args in the plugin setting ? I can't get any tips from https://github.com/api7/lua-resty-expr#operator-list
Thank you
Environment
Request help without environment information will be ignored or closed.
apisix version
):uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: