Skip to content

Commit

Permalink
change fed context cookie to store original path and query instead of…
Browse files Browse the repository at this point in the history
… full url
  • Loading branch information
woloski committed Jul 8, 2012
1 parent 47bb34c commit c625f0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AuthBridge.Web/Controllers/AuthenticationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ private static IClaimsIdentity UpdateIssuer(IClaimsIdentity input, string issuer

private void CreateFederationContext()
{
this.federationContext.OriginalUrl = this.HttpContext.GetRequestUrl().ToString();
this.federationContext.Realm = Request.QueryString[WSFederationConstants.Parameters.Realm];
this.federationContext.OriginalUrl = this.HttpContext.Request.Url.PathAndQuery;
this.federationContext.Realm = this.Request.QueryString[WSFederationConstants.Parameters.Realm];
this.federationContext.IssuerName = this.Request.QueryString[WSFederationConstants.Parameters.HomeRealm];
}
}
Expand Down

0 comments on commit c625f0b

Please sign in to comment.