diff options
-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.", |