summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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();
}