summaryrefslogtreecommitdiff
path: root/src/httpscan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/httpscan.cc')
-rw-r--r--src/httpscan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpscan.cc b/src/httpscan.cc
index 17a2f96..8f3a20c 100644
--- a/src/httpscan.cc
+++ b/src/httpscan.cc
@@ -357,7 +357,7 @@ HttpScanSession::scan_result_t HttpScanSession::scan_bypass_content_type(const H
content_type = value; return false;
});
- if (content_type.find("text") != 0)
+ if (content_type.find("text") == 0)
{
return scan_result_t::kScanResultHit;
}