Skip to content

[modsecurity.conf-recommended] align processing on request & response for json #3175

Open
@fzipi

Description

@fzipi

I think this issue might be relevant in this context also: corazawaf/coraza#1086.

Adapting @YvesZelros's issue here:

The modsecurity.conf-recommended enable JSON request body processor but don't parse JSON on response.
I propose align request & response configuration by adding application/json on SecResponseBodyMimeType:
SecResponseBodyMimeType text/plain text/html text/xml application/json

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.xRelated to ModSecurity version 2.xconfigRelated to default config

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions