From a9b4e1d62f6437eaf1fda29ebb1ba497f84ba2bc Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Thu, 11 Oct 2012 11:15:46 -0300 Subject: Fixing issue #32 : https://github.com/openid/php-openid/issues/32 --- examples/detect.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) { -- cgit v1.1