mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Adds support to REQBODY_ERROR_MSG and REQBODY_ERROR
Support to REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG were also added.
This commit is contained in:
@@ -100,18 +100,18 @@ class Multipart {
|
||||
Multipart(std::string header, Transaction *transaction);
|
||||
~Multipart();
|
||||
|
||||
bool init();
|
||||
bool init(std::string *err);
|
||||
|
||||
int boundary_characters_valid(const char *boundary);
|
||||
int count_boundary_params(const std::string& str_header_value);
|
||||
int is_token_char(unsigned char c);
|
||||
int multipart_complete();
|
||||
int multipart_complete(std::string *err);
|
||||
|
||||
int parse_content_disposition(const char *c_d_value);
|
||||
bool process(const std::string& data);
|
||||
bool process(const std::string& data, std::string *err);
|
||||
int process_boundary(int last_part);
|
||||
int process_part_header();
|
||||
int process_part_data();
|
||||
int process_part_header(std::string *error);
|
||||
int process_part_data(std::string *error);
|
||||
|
||||
int tmp_file_name(std::string *filename);
|
||||
|
||||
|
Reference in New Issue
Block a user