added support for default alias specification, alias auto registration, alias redirect, alias line break delimiters

This commit is contained in:
Shaun Walker
2021-12-22 15:43:59 -05:00
parent 22c2d56da0
commit c21a097fd2
11 changed files with 329 additions and 227 deletions

View File

@ -30,7 +30,7 @@ namespace Oqtane.Models
Action = "";
UrlParameters = "";
if (AliasPath.Length != 0)
if (AliasPath.Length != 0 && PagePath.StartsWith("/" + AliasPath))
{
PagePath = PagePath.Substring(AliasPath.Length + 1);
}