summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-01 21:47:47 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-01 23:19:23 -0800
commit862d9349ecf31b58e65072f91a5ee1956c31ba4b (patch)
tree3b4567ab2d57a40d795a71f1f9568c8df5923fdc /src/DotNetOpenAuth.AspNet/Clients/OAuth2/OAuth2Client.cs
parent6cdeefcc2425979807146e0cc53b32d4d82ad42c (diff)
downloadDotNetOpenAuth-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.cs2
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);
}