Adds protocol and http version to processUri method's signature

Protocol and http version will be further used to fill some variables
and the audit log.
This commit is contained in:
Felipe Zimmerle
2015-07-08 13:50:17 -03:00
parent 2109910848
commit 278b513933
12 changed files with 79 additions and 27 deletions

View File

@@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
std::cout << "There is an intervention" << std::endl;
continue;
}
modsecAssay->processURI(request_uri);
modsecAssay->processURI(request_uri, "GET", "1.1");
if (modsecAssay->intervention()) {
std::cout << "There is an intervention" << std::endl;
continue;