You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
In the example http://localhost:12345/hello/world?query, it uses the OriginalPathBase (empty) but the current request Path "/world" and redirects to "/world?query". It should use the OriginalPathBase "" and the OriginalPath "/hello/world" rather than the current Path.
The text was updated successfully, but these errors were encountered:
awaitcontext.ChallengeAsync(newAuthenticationProperties(){// https://github.com/aspnet/Security/issues/1730// Return here after authenticatingRedirectUri=context.Request.PathBase+context.Request.Path+context.Request.QueryString});
If UseAuthentication is outside of the Map, and ChallengeAsync is called inside the Map, then CookieAuth generates the wrong ReturnUrl parameter.
Security/src/Microsoft.AspNetCore.Authentication.Cookies/CookieAuthenticationHandler.cs
Line 436 in 2e3a107
In the example
http://localhost:12345/hello/world?query
, it uses the OriginalPathBase (empty) but the current request Path "/world" and redirects to "/world?query". It should use the OriginalPathBase "" and the OriginalPath "/hello/world" rather than the current Path.The text was updated successfully, but these errors were encountered: