Repository navigation
docs: pipe format for methods and HTTP versions, plugin lists - #314
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
fzipi
left a comment
There was a problem hiding this comment.
Content checks out against main: the new 900200/900230 defaults, the collect rules, and the "every request is flagged" warning (confirmed on all three engines while testing coreruleset/coreruleset#4970 and coreruleset/coreruleset#4966). The lychee failure is GitHub 503s on four links, three of them on untouched pages; I re-ran it.
Two points to align with the contract before this merges with 4.31.0:
- "Your settings stay in place" (2-5:94, 4-2:70) holds only for plugins that use
tx.plugin_*. During the 9.3 transition, a plugin that sets a list directly replaces the user's list on its paths. Suggest: "Plugins that follow the contract keep your settings in place." - 4-2:83: if coreruleset/coreruleset#4985 is merged, the transition covers all lists, in the format from section 4, limited to the requests that need it. Please update the note to match.
Nit, 4-2:75: add that content types, charsets, extensions and headers must be lowercase; a wrong-case entry never matches and no error is reported.
- tools used: Claude (Opus 5.5)
- assisted with: checking the text against the merged rules and contract, drafting this review
- review performed: compared defaults and rule IDs with
main; checked the CI failure log; did not build the site
|
Thanks Felipe! |
Proposed changes
This updates the documentation for three changes that ship in CRS 4.31.0:
tx.allowed_methodsuses the pipe format (|GET| |HEAD| |POST| |OPTIONS|), and 911100 compares whole methods.tx.allowed_http_versionsand 920430.tx.plugin_<list>_<rule id>variables (PLUGIN-CONTRACT.md, collect rules 901600–901660).Configuration Settings (
2-5-configuration-settings.md):crs-setup.confmust switch to the pipe format, otherwise every request is flagged.Writing Plugins (
4-2-writing-plugins.md):tx.plugin_<list>_<rule id>variables with the Nextcloud example from the contract, the most important rules, and a link to the contract.Please merge this together with the release of CRS 4.31.0, because the docs describe the current release.
Related: coreruleset/coreruleset#4286
Further comments
I built the site locally with Hugo 0.164.0 (the version from the workflow). It builds; the warnings in the build are about Hugo deprecations and other pages, not about this change. And the tables with the pipe values render correctly.
AI Disclosure: I let Claude (Claude Opus 5.5, Cowork mode) write the changes and build the site locally. I reviewed the changes and the rendered pages.