Skip to content

Error parsing % #2145

Open
Open
@fgsch

Description

@fgsch

The following rule fails to parse:

SecRule REQUEST_HEADERS "@contains %" "id:1"

Escaping the % doesn't help.

AH00526: Syntax error on line N of ...: Error: Rules must have an ID.

Works with modsecurity 2, fails with 3.

Metadata

Metadata

Labels

3.xRelated to ModSecurity version 3.xenhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions