Skip to content

PCRE match limits backward incompatible behavior #2902

Closed
@azurit

Description

@azurit

Describe the bug

This PR #2736 introduced a PCRE match limits which, when hit, sets the variable MSC_PCRE_LIMITS_EXCEEDED. This behavior is incompatible with ModSecurity v2, which is in the same situation setting variable TX:MSC_PCRE_LIMITS_EXCEEDED.

Expected behavior

Variable names must be unified to keep backward compatibility with v2. Please rename MSC_PCRE_LIMITS_EXCEEDED to TX:MSC_PCRE_LIMITS_EXCEEDED remove MSC_PCRE_LIMITS_EXCEEDED and set TX:MSC_PCRE_LIMITS_EXCEEDED instead in v3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions