File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -766,14 +766,11 @@ int Transaction::processRequestBody() {
766
766
m_variableReqbodyProcessorError.set (" 0" , m_variableOffset);
767
767
}
768
768
769
- #if 1
770
769
if (m_rules->m_secRequestBodyAccess != RulesProperties::TrueConfigBoolean) {
771
770
if (m_requestBodyAccess != RulesProperties::TrueConfigBoolean) {
772
771
#ifndef NO_LOGS
773
772
debug (4 , " Request body processing is disabled" );
774
773
#endif
775
-
776
- this ->m_rules ->evaluate (modsecurity::RequestBodyPhase, this );
777
774
return true ;
778
775
} else {
779
776
#ifndef NO_LOGS
@@ -786,14 +783,12 @@ int Transaction::processRequestBody() {
786
783
if (m_requestBodyAccess == RulesProperties::FalseConfigBoolean) {
787
784
#ifndef NO_LOGS
788
785
debug (4 , " Request body processing is enabled, but " \
789
- " disable to this transaction due to ctl:requestBodyAccess " \
786
+ " disabled to this transaction due to ctl:requestBodyAccess " \
790
787
" action" );
791
788
#endif
792
- this ->m_rules ->evaluate (modsecurity::RequestBodyPhase, this );
793
789
return true ;
794
790
}
795
791
}
796
- #endif
797
792
798
793
/* *
799
794
* FIXME: This variable should be calculated on demand, it is
You can’t perform that action at this time.
0 commit comments