fix #2578 - error notification sent via email includes direct link to specific log item, however redirect was causing an infinite loop. This resolves the problem and also preserves url querystring parameters during login/logout.
This commit is contained in:
@ -24,6 +24,7 @@ namespace Oqtane.Models
|
||||
Query = uri.Query;
|
||||
Fragment = uri.Fragment;
|
||||
AbsolutePath = uri.AbsolutePath;
|
||||
PathAndQuery = uri.PathAndQuery;
|
||||
AliasPath = aliaspath;
|
||||
PagePath = AbsolutePath;
|
||||
ModuleId = "";
|
||||
@ -90,6 +91,11 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public string AbsolutePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The absolute path for the route including the querystring
|
||||
/// </summary>
|
||||
public string PathAndQuery { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// An absolute path may contain an alias path
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user