diff options
author | Marco Ceppi <marco@ceppi.net> | 2012-10-11 07:39:49 -0700 |
---|---|---|
committer | Marco Ceppi <marco@ceppi.net> | 2012-10-11 07:39:49 -0700 |
commit | 9a79bd586bd53bbc738d643d70c580aaceb27ccc (patch) | |
tree | 5b6109061ba41c3dc9fbe5548fbc5d1188c881b3 | |
parent | dbd9d3edb9e23a4d8482f8af999f725bc74502c9 (diff) | |
parent | a9b4e1d62f6437eaf1fda29ebb1ba497f84ba2bc (diff) | |
download | php-openid-9a79bd586bd53bbc738d643d70c580aaceb27ccc.zip php-openid-9a79bd586bd53bbc738d643d70c580aaceb27ccc.tar.gz php-openid-9a79bd586bd53bbc738d643d70c580aaceb27ccc.tar.bz2 |
Merge pull request #78 from rodrigosprimo/master
Fixed issue #32
-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) { |