From 27d338d2a6b6ab439454393139adb47874c6942a Mon Sep 17 00:00:00 2001 From: Dominick Baier Date: Mon, 17 Jun 2013 18:15:50 +0200 Subject: [PATCH] Fixed a bug in AuthenticationHandler --- .../Shared/AuthenticationHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libraries/Thinktecture.IdentityServer.Protocols/Shared/AuthenticationHelper.cs b/src/Libraries/Thinktecture.IdentityServer.Protocols/Shared/AuthenticationHelper.cs index cb8349c9..62c3fd30 100644 --- a/src/Libraries/Thinktecture.IdentityServer.Protocols/Shared/AuthenticationHelper.cs +++ b/src/Libraries/Thinktecture.IdentityServer.Protocols/Shared/AuthenticationHelper.cs @@ -280,7 +280,7 @@ public RelyingParty GetRelyingPartyDetailsFromReturnUrl(string returnUrl) var url = HttpUtility.UrlDecode(returnUrl); Uri uri; - if (Uri.TryCreate(url, UriKind.RelativeOrAbsolute, out uri)) + if (Uri.TryCreate("http://foo.com" + url, UriKind.Absolute, out uri)) { WSFederationMessage message;