Adds support to MULTIPART_CRLF_LF_LINES variable

This commit is contained in:
Felipe Zimmerle
2015-07-21 15:28:44 -03:00
parent 21f4c49a0f
commit abec93263b
5 changed files with 156 additions and 2 deletions

View File

@@ -33,8 +33,11 @@ class Multipart {
bool boundaryContainsOnlyValidCharacters();
bool conuntBoundaryParameters();
bool process(std::string data);
void checkForCrlfLf(const std::string &blob);
ModSecurityStringVariables variables;
bool crlf;
bool lf;
private:
void debug(int a, std::string str) {
std::cout << "Debug: " << str << std::endl;