nanamikon commented on a change in pull request #4676:
URL: https://github.com/apache/apisix/pull/4676#discussion_r679646809
##########
File path: t/core/ctx2.t
##########
@@ -136,3 +136,39 @@ qr/balancer_ip: 127.0.0.1|balancer_port: 1980/
--- grep_error_log_out
balancer_ip: 127.0.0.1
balancer_port: 1980
+
+
+
+=== TEST 5: support dash in the args
+--- config
+ location /t {
+ content_by_lua_block {
+ local core = require("apisix.core")
+ local ctx = {}
+ core.ctx.set_vars_meta(ctx)
+
+ ngx.say("uri_args_a-b: ", ctx.var["uri_args_a-b"])
+ }
+ }
+--- request
+GET /t?a-b=aaa
+--- response_body
+uri_args_a-b: aaa
+
+
+
+=== TEST 6: support dash in the args(Multi args with the same name, only fetch
the first one)
Review comment:
ok
--
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]