fengxsong commented on code in PR #9194:
URL: https://github.com/apache/apisix/pull/9194#discussion_r1166480638
##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -191,11 +194,17 @@ function _M.check_schema(conf)
end
if conf.regex_uri and #conf.regex_uri > 0 then
- local _, _, err = re_sub("/fake_uri", conf.regex_uri[1],
- conf.regex_uri[2], "jo")
- if err then
- return false, "invalid regex_uri(" .. conf.regex_uri[1] ..
- ", " .. conf.regex_uri[2] .. "): " .. err
+ -- remove this check util 'multipleOf' is supported
Review Comment:
> What‘s means?
I had the wrong perception of `multipleOf` validator. it only take affect on
number type but not length of array.
--
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]