diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-06-09 09:02:46 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-06-09 09:02:46 -0700 |
commit | a92b58cc183454f1c062606ed14c21d26c447066 (patch) | |
tree | 77c67e33cba9b7f814d530ede349eb90c04dd867 /src | |
parent | 5704de13416ba72b524bbc40bb0920c43431df0f (diff) | |
download | DotNetOpenAuth-a92b58cc183454f1c062606ed14c21d26c447066.zip DotNetOpenAuth-a92b58cc183454f1c062606ed14c21d26c447066.tar.gz DotNetOpenAuth-a92b58cc183454f1c062606ed14c21d26c447066.tar.bz2 |
Identifies a couple of TODO comments as being new in 5.0 that need to be resolved.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs | 2 | ||||
-rw-r--r-- | src/DotNetOpenAuth.OpenId/OpenId/UntrustedWebRequestHandler.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs b/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs index 9885eb2..75dd23c 100644 --- a/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs +++ b/src/DotNetOpenAuth.Core/Messaging/MessagingUtilities.cs @@ -2062,7 +2062,7 @@ namespace DotNetOpenAuth.Messaging { /// </summary> /// <param name="context">The context in which the result is executed. The context information includes the controller, HTTP content, request context, and route data.</param> public override void ExecuteResult(ControllerContext context) { - // TODO: fix this to be asynchronous. + // TODO 5.0: fix this to be asynchronous. this.response.SendAsync(context.HttpContext).GetAwaiter().GetResult(); } } diff --git a/src/DotNetOpenAuth.OpenId/OpenId/UntrustedWebRequestHandler.cs b/src/DotNetOpenAuth.OpenId/OpenId/UntrustedWebRequestHandler.cs index a904813..4f80b0b 100644 --- a/src/DotNetOpenAuth.OpenId/OpenId/UntrustedWebRequestHandler.cs +++ b/src/DotNetOpenAuth.OpenId/OpenId/UntrustedWebRequestHandler.cs @@ -312,7 +312,7 @@ namespace DotNetOpenAuth.OpenId { // We don't want to blindly set all ServicePoints to not use the Expect header // as that would be a security hole allowing any visitor to a web site change // the web site's global behavior when calling that host. - // TODO: verify that this still works in DNOA 5.0 + // TODO 5.0: verify that this still works in DNOA 5.0 var servicePoint = ServicePointManager.FindServicePoint(request.RequestUri); Logger.Http.InfoFormat( "HTTP POST to {0} resulted in 417 Expectation Failed. Changing ServicePoint to not use Expect: Continue next time.", |