Merge pull request #27 from openappsec/Nov_28_2024-Dev

code sync
This commit is contained in:
Daniel-Eisenberg 2024-12-01 11:52:08 +02:00 committed by GitHub
commit 711bf5686a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -187,7 +187,7 @@ ngx_add_event_id_to_header(ngx_http_request_t *request)
{
u_char *uuid = (u_char *)get_web_response_uuid();
ngx_uint_t uuid_size = get_web_response_uuid_size();
static u_char uuid_key[] = { 'x', '_', 'e', 'v', 'e', 'n', 't', '_', 'i', 'd' };
static u_char uuid_key[] = { 'X', '-', 'E', 'v', 'e', 'n', 't', '-', 'I', 'D' };
write_dbg(
DBG_LEVEL_WARNING,

View File

@ -406,7 +406,7 @@ create_modification_node(ngx_http_cp_inject_data_t *modification, ngx_http_reque
Injection position: %d, \
Injection size: %d, \
Original buffer index: %d, \
Data: %s, \
Modification data: %s, \
Should change data: %d",
modification_node->modification.is_header,
modification_node->modification.injection_pos,
@ -505,7 +505,7 @@ ngx_http_cp_reply_receiver(
*verdict = reply_p->verdict;
write_dbg(DBG_LEVEL_TRACE, "Verdict %d received", *verdict);
write_dbg(DBG_LEVEL_TRACE, "Verdict %d received, number of repiles left: %d", *verdict, *expected_replies);
switch(*verdict) {
case TRAFFIC_VERDICT_INJECT: {