mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Update inspect_file.cc
Signed-off-by: Le Yao <le.yao@intel.com>
This commit is contained in:
parent
bf2bde603f
commit
3dd0ed7979
@ -67,7 +67,7 @@ bool InspectFile::evaluate(Transaction *transaction, const std::string &str) {
|
|||||||
s << buff;
|
s << buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
pclose(in);
|
//pclose(in);
|
||||||
|
|
||||||
res.append(s.str());
|
res.append(s.str());
|
||||||
if (res.size() > 1 && res.at(0) != '1') {
|
if (res.size() > 1 && res.at(0) != '1') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user