nic-6443 commented on issue #9202: URL: https://github.com/apache/apisix/issues/9202#issuecomment-1506560054
I think what you said makes sense, but currently there is no way to achieve it as the execution phase is coded in the plugin code: https://github.com/apache/apisix/blob/69df734902782f6e12386dc505a40a5e64524154/apisix/plugins/ip-restriction.lua#L23 So it cannot be modified through configuration. You can try submitting a PR to change the execution phase of `ip-restriction` to `rewrite`, and personally I agree with your comment. -- 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]
