mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 06:36:13 +03:00
Change names of HMAC feature to HASH
This commit is contained in:
parent
5f98d8008e
commit
208d9d3a93
@ -597,9 +597,9 @@ static int flatten_response_body(modsec_rec *msr) {
|
|||||||
retval = init_response_body_html_parser(msr);
|
retval = init_response_body_html_parser(msr);
|
||||||
|
|
||||||
if(retval == 1) {
|
if(retval == 1) {
|
||||||
retval = encrypt_response_body_links(msr);
|
retval = hash_response_body_links(msr);
|
||||||
if(retval > 0) {
|
if(retval > 0) {
|
||||||
retval = inject_encrypted_response_body(msr, retval);
|
retval = inject_hashed_response_body(msr, retval);
|
||||||
if (msr->txcfg->debuglog_level >= 4) {
|
if (msr->txcfg->debuglog_level >= 4) {
|
||||||
msr_log(msr, 4, "Hash completed in %" APR_TIME_T_FMT " usec.", (apr_time_now() - time1));
|
msr_log(msr, 4, "Hash completed in %" APR_TIME_T_FMT " usec.", (apr_time_now() - time1));
|
||||||
}
|
}
|
||||||
|
@ -369,7 +369,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
|
|
||||||
error_msg = apr_psprintf(msr->mp,
|
error_msg = apr_psprintf(msr->mp,
|
||||||
"Execution error - "
|
"Execution error - "
|
||||||
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
|
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
|
||||||
em[i]->param,rc, my_error_msg);
|
em[i]->param,rc, my_error_msg);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4)
|
if (msr->txcfg->debuglog_level >= 4)
|
||||||
@ -424,7 +424,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
|
|
||||||
error_msg = apr_psprintf(msr->mp,
|
error_msg = apr_psprintf(msr->mp,
|
||||||
"Execution error - "
|
"Execution error - "
|
||||||
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
|
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
|
||||||
em[i]->param,rc, my_error_msg);
|
em[i]->param,rc, my_error_msg);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4)
|
if (msr->txcfg->debuglog_level >= 4)
|
||||||
@ -479,7 +479,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
|
|
||||||
error_msg = apr_psprintf(msr->mp,
|
error_msg = apr_psprintf(msr->mp,
|
||||||
"Execution error - "
|
"Execution error - "
|
||||||
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
|
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
|
||||||
em[i]->param,rc, my_error_msg);
|
em[i]->param,rc, my_error_msg);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4)
|
if (msr->txcfg->debuglog_level >= 4)
|
||||||
@ -534,7 +534,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
|
|
||||||
error_msg = apr_psprintf(msr->mp,
|
error_msg = apr_psprintf(msr->mp,
|
||||||
"Execution error - "
|
"Execution error - "
|
||||||
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
|
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
|
||||||
em[i]->param,rc, my_error_msg);
|
em[i]->param,rc, my_error_msg);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4)
|
if (msr->txcfg->debuglog_level >= 4)
|
||||||
@ -589,7 +589,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
|
|
||||||
error_msg = apr_psprintf(msr->mp,
|
error_msg = apr_psprintf(msr->mp,
|
||||||
"Execution error - "
|
"Execution error - "
|
||||||
"PCRE limits exceeded for Encrytion regex [%s] (%d): %s",
|
"PCRE limits exceeded for Hash regex [%s] (%d): %s",
|
||||||
em[i]->param,rc, my_error_msg);
|
em[i]->param,rc, my_error_msg);
|
||||||
|
|
||||||
if (msr->txcfg->debuglog_level >= 4)
|
if (msr->txcfg->debuglog_level >= 4)
|
||||||
@ -617,7 +617,7 @@ int do_hash_method(modsec_rec *msr, char *link, int type) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Encrypt the html elements
|
* \brief Hash the html elements
|
||||||
*
|
*
|
||||||
* \param msr ModSecurity transaction resource
|
* \param msr ModSecurity transaction resource
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user