Skip to content

docs: pipe format for methods and HTTP versions, plugin lists - #314

Merged
fzipi merged 2 commits into
coreruleset:mainfrom
franbuehler:docs/pipe-format-and-plugin-lists
Nov 24, 2026
Merged

fzipi merged 2 commits into
coreruleset:mainfrom
franbuehler:docs/pipe-format-and-plugin-lists

Conversation

@franbuehler

Copy link
Copy Markdown
Contributor

Proposed changes

This updates the documentation for three changes that ship in CRS 4.31.0:

Configuration Settings (2-5-configuration-settings.md):

  • The intro of "HTTP Policy" now says that methods and HTTP versions use pipes.
  • New defaults for 900200 and 900230.
  • A warning about the breaking change: users who set 900200 or 900230 in crs-setup.conf must switch to the pipe format, otherwise every request is flagged.
  • A short section "Plugins and the HTTP Policy Lists": plugins can add entries, the user's settings stay in place.

Writing Plugins (4-2-writing-plugins.md):

  • A new section "Adding Entries to CRS Lists": why plugins must not set the CRS lists directly, the tx.plugin_<list>_<rule id> variables with the Nextcloud example from the contract, the most important rules, and a link to the contract.
  • A note on the transition for plugins that also support older CRS releases (section 9.3 of 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.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8258dec9-9913-487f-a0c2-5ee75f987247
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@franbuehler
franbuehler requested a review from fzipi November 23, 2026 19:09

@fzipi fzipi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@franbuehler

Copy link
Copy Markdown
Contributor Author

Thanks Felipe!
I applied all three points: "your settings stay in place" now only applies to plugins that follow the contract, the transition note covers all lists with the two conditions from #4985 (format of the list, limited to the requests that need it), and I added the lowercase rule. This should be merged after coreruleset/coreruleset#4985.

@fzipi
fzipi merged commit 8f688ca into coreruleset:main Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants