mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 18:05:28 +03:00
Remove some unsupport system call for WASM
Signed-off-by: Le Yao <le.yao@intel.com>
This commit is contained in:
@@ -62,9 +62,6 @@ bool InspectFile::evaluate(Transaction *transaction, const std::string &str) {
|
||||
openstr.append(m_param);
|
||||
openstr.append(" ");
|
||||
openstr.append(str);
|
||||
if (!(in = popen(openstr.c_str(), "r"))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
while (fgets(buff, sizeof(buff), in) != NULL) {
|
||||
s << buff;
|
||||
|
||||
Reference in New Issue
Block a user