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:
Shaun Walker
2023-02-06 16:44:25 -05:00
parent 1f2ad4e884
commit 56e4dcc11e
6 changed files with 33 additions and 16 deletions

View File

@ -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>