mirror of
https://github.com/openappsec/attachment.git
synced 2025-11-19 18:44:25 +03:00
Update istio (#34)
* update istio * update istio * fixing istio * fix library name * fix library name * fix missing defenition of advanced-model * fix append * fix wrong name * fix pvc issue * fix config.go file * fix config.go file * fix config.go file * fix config.go file --------- Co-authored-by: Daniel Eisenberg <danielei@checkpoint.com>
This commit is contained in:
8
attachments/nano_attachment/nano_attachment_io.c
Normal file → Executable file
8
attachments/nano_attachment/nano_attachment_io.c
Normal file → Executable file
@@ -604,6 +604,14 @@ handle_custom_web_response(
|
||||
return;
|
||||
}
|
||||
|
||||
if (title.len == 0 || body.len == 0) {
|
||||
custom_response_data->response_code = web_response_data->response_data.custom_response_data.response_code;
|
||||
new_response_data->web_response_type = RESPONSE_CODE_ONLY;
|
||||
new_response_data->data = custom_response_data;
|
||||
*ctx_response_data = new_response_data;
|
||||
return;
|
||||
}
|
||||
|
||||
// Setting custom web response title's data.
|
||||
if (title.len > 0) {
|
||||
title.data = (u_char *)web_response_data->response_data.custom_response_data.data;
|
||||
|
||||
Reference in New Issue
Block a user