dkzr
Verified User
When updating coreruleset from v4.30 to v4.31 there are breaking changes for when you've configured
tx.allowed_methods or tx.allowed_http_versions
These move from space-separated format to "pipe wrapped".
Eg. setvar:'tx.allowed_methods=GET HEAD POST OPTIONS PUT PATCH DELETE' must become setvar:'tx.allowed_methods=|GET| |HEAD| |POST| |OPTIONS| |PUT| |PATCH| |DELETE|'
See https://github.com/coreruleset/coreruleset/releases/tag/v4.31.0 for more info.
The old version (v4.30 and before) seems to support the new format (pipe wrapped) too, so you can already make the changes now (please test afterwards...)
tx.allowed_methods or tx.allowed_http_versions
These move from space-separated format to "pipe wrapped".
Eg. setvar:'tx.allowed_methods=GET HEAD POST OPTIONS PUT PATCH DELETE' must become setvar:'tx.allowed_methods=|GET| |HEAD| |POST| |OPTIONS| |PUT| |PATCH| |DELETE|'
See https://github.com/coreruleset/coreruleset/releases/tag/v4.31.0 for more info.
The old version (v4.30 and before) seems to support the new format (pipe wrapped) too, so you can already make the changes now (please test afterwards...)