diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-22 22:54:33 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-22 22:54:33 -0700 |
commit | 3bf681747ed847c194724f9c5833ab83ca0b7ba4 (patch) | |
tree | 27a613e085e18f96785e5c361e3101f48cbe6ac3 | |
parent | 6b6c313bcc7727fe00ad3615ecaef98136ef1a6a (diff) | |
download | DotNetOpenAuth-3bf681747ed847c194724f9c5833ab83ca0b7ba4.zip DotNetOpenAuth-3bf681747ed847c194724f9c5833ab83ca0b7ba4.tar.gz DotNetOpenAuth-3bf681747ed847c194724f9c5833ab83ca0b7ba4.tar.bz2 |
Fix for NullReferenceException in the OAuth 1.0 demo due to HttpRequestInfo not initializing one of its fields.
Fixes #97
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/HttpRequestInfo.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/HttpRequestInfo.cs b/src/DotNetOpenAuth.Core/Messaging/HttpRequestInfo.cs index ed948ce..0f60e04 100644 --- a/src/DotNetOpenAuth.Core/Messaging/HttpRequestInfo.cs +++ b/src/DotNetOpenAuth.Core/Messaging/HttpRequestInfo.cs @@ -69,6 +69,7 @@ namespace DotNetOpenAuth.Messaging { this.headers = request.Headers; this.requestUri = requestUri; this.form = new NameValueCollection(); + this.queryString = HttpUtility.ParseQueryString(requestUri.Query); this.serverVariables = new NameValueCollection(); Reporting.RecordRequestStatistics(this); |