diff options
-rw-r--r-- | examples/detect.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/detect.php b/examples/detect.php index 3c13a5a..9c59db3 100644 --- a/examples/detect.php +++ b/examples/detect.php @@ -512,7 +512,11 @@ if (!$_include) { $status[] = detect_stores($r, $body); $status[] = detect_fetcher($r, $body); $status[] = detect_xml($r, $body); - $status[] = detect_query_corruption($r, $body); + + if (isset($_SERVER['REQUEST_METHOD'])) { + $status[] = detect_query_corruption($r, $body); + } + $result = true; foreach ($status as $v) { |