From bafc14953cb5a326c5a7f9ce13f7512b61e4d11f Mon Sep 17 00:00:00 2001 From: Tyson Stolarski Date: Mon, 9 Sep 2013 08:01:12 +0800 Subject: [PATCH] Fixed issue where redirect uri query strings weren't included in redirect query string param. --- src/ServiceStack.ServiceInterface/AuthenticateAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceStack.ServiceInterface/AuthenticateAttribute.cs b/src/ServiceStack.ServiceInterface/AuthenticateAttribute.cs index 5a9dfdb6e73..bb9550c0887 100644 --- a/src/ServiceStack.ServiceInterface/AuthenticateAttribute.cs +++ b/src/ServiceStack.ServiceInterface/AuthenticateAttribute.cs @@ -93,7 +93,7 @@ protected bool DoHtmlRedirectIfConfigured(IHttpRequest req, IHttpResponse res, b var url = req.ResolveAbsoluteUrl(htmlRedirect); if (includeRedirectParam) { - var absoluteRequestPath = req.ResolveAbsoluteUrl("~" + req.PathInfo); + var absoluteRequestPath = req.ResolveAbsoluteUrl("~" + req.RawUrl); url = url.AddQueryParam("redirect", absoluteRequestPath); }