diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-01 21:47:47 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-03-01 23:19:23 -0800 |
commit | 862d9349ecf31b58e65072f91a5ee1956c31ba4b (patch) | |
tree | 3b4567ab2d57a40d795a71f1f9568c8df5923fdc /src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs | |
parent | 6cdeefcc2425979807146e0cc53b32d4d82ad42c (diff) | |
download | DotNetOpenAuth-862d9349ecf31b58e65072f91a5ee1956c31ba4b.zip DotNetOpenAuth-862d9349ecf31b58e65072f91a5ee1956c31ba4b.tar.gz DotNetOpenAuth-862d9349ecf31b58e65072f91a5ee1956c31ba4b.tar.bz2 |
Replaced AspNet project's Uri.ToString() calls with Uri.AbsoluteUri
http://blog.nerdbank.net/2008/04/uriabsoluteuri-and-uritostring-are-not.html
Diffstat (limited to 'src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs')
-rw-r--r-- | src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs index 17a11b8..319d1d9 100644 --- a/src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs +++ b/src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs @@ -52,7 +52,7 @@ namespace DotNetOpenAuth.AspNet.Clients { _returnUrl = returnUrl; - string redirectUrl = GetServiceLoginUrl(returnUrl).ToString(); + string redirectUrl = GetServiceLoginUrl(returnUrl).AbsoluteUri; context.Response.Redirect(redirectUrl, endResponse: true); } |