Skip to content

Merge branch 'v3/master' into process_partial_json_xml_req_body

9b83a42
Select commit
Loading
Failed to load commit list.
Open

Allow partial processing of XML, JSON, and multipart request body #3476

Merge branch 'v3/master' into process_partial_json_xml_req_body
9b83a42
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 10, 2026 in 3m 26s

Annotations

Check warning on line 796 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KRRtN53tJB8qZ3O&open=AZ10_KRRtN53tJB8qZ3O&pullRequest=3476

Check warning on line 124 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use the constructor's initializer list for data member "m_allow_partial". Use the in-class initializer instead.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3F&open=AZ10_KQdtN53tJB8qZ3F&pullRequest=3476

Check warning on line 1242 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3K&open=AZ10_KQdtN53tJB8qZ3K&pullRequest=3476

Check warning on line 546 in test/regression/regression.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KSJtN53tJB8qZ3P&open=AZ10_KSJtN53tJB8qZ3P&pullRequest=3476

Check warning on line 1234 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3J&open=AZ10_KQdtN53tJB8qZ3J&pullRequest=3476

Check warning on line 153 in src/request_body_processor/xml.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use the constructor's initializer list for data member "m_require_well_formed". Use the in-class initializer instead.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KMjtN53tJB8qZ3E&open=AZ10_KMjtN53tJB8qZ3E&pullRequest=3476

Check warning on line 728 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KRRtN53tJB8qZ3M&open=AZ10_KRRtN53tJB8qZ3M&pullRequest=3476

Check warning on line 1189 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3I&open=AZ10_KQdtN53tJB8qZ3I&pullRequest=3476

Check warning on line 1175 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the redundant type with "auto".

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3H&open=AZ10_KQdtN53tJB8qZ3H&pullRequest=3476

Check failure on line 1176 in src/request_body_processor/multipart.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KQdtN53tJB8qZ3G&open=AZ10_KQdtN53tJB8qZ3G&pullRequest=3476

Check failure on line 795 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KRRtN53tJB8qZ3L&open=AZ10_KRRtN53tJB8qZ3L&pullRequest=3476

Check warning on line 763 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ10_KRRtN53tJB8qZ3N&open=AZ10_KRRtN53tJB8qZ3N&pullRequest=3476