-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Lua engine (SecRuleScript) issue accessing entire collection #2900
Comments
I'm having the same problem. |
I'm having the same problem,too. |
@udi-aharon yes, this issue has been created based on your post on SO - see the link in the opening comment. |
Thanks for the report. While accessing non-collection variables works, and accessing individual items (by name) within a collection works ... ... retrieving an entire collection is not functioning as I would have expected. |
Describe the bug
Seems like the Lua engine does not access to collections using with
SecRuleScript
.Logs and dumps
debug.log:
error.log:
curl's output:
To Reproduce
ARGS
:local d = m.getvars("ARGS", { "lowercase", "htmlEntityDecode" } );
Expected behavior
I tried this scenarios with the same configuration with mod_security2 on Apache, and it works as well. The debug.log says:
Server (please complete the following information):
Additional context
The original issue was described here.
The text was updated successfully, but these errors were encountered: