summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-10 16:12:28 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-10 16:12:28 -0700
commitd8885566abfde1894a7aba9243c347d13aaa7155 (patch)
treeaad06cbbfe253c306dfa8b5da540cf1de39e3d86 /src
parentb4fad083f0a6c22f0d10bd3e72da78d0cfdd7b86 (diff)
downloadDotNetOpenAuth-d8885566abfde1894a7aba9243c347d13aaa7155.zip
DotNetOpenAuth-d8885566abfde1894a7aba9243c347d13aaa7155.tar.gz
DotNetOpenAuth-d8885566abfde1894a7aba9243c347d13aaa7155.tar.bz2
Fixed OpenID support to comply with OpenID 2.0 section 4.1.2.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/Messaging/Channel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/Messaging/Channel.cs b/src/DotNetOpenAuth/Messaging/Channel.cs
index 572f215..7bfc236 100644
--- a/src/DotNetOpenAuth/Messaging/Channel.cs
+++ b/src/DotNetOpenAuth/Messaging/Channel.cs
@@ -494,7 +494,7 @@ namespace DotNetOpenAuth.Messaging {
// Search Form data first, and if nothing is there search the QueryString
Contract.Assume(request.Form != null && request.QueryString != null);
var fields = request.Form.ToDictionary();
- if (fields.Count == 0) {
+ if (fields.Count == 0 && request.HttpMethod != "POST") { // OpenID 2.0 section 4.1.2
fields = request.QueryString.ToDictionary();
}