optimize Url Parameters and implement in Event Log

This commit is contained in:
Shaun Walker
2022-08-18 16:04:30 -04:00
parent c7edc28bd9
commit 2c1543aa82
5 changed files with 60 additions and 48 deletions

View File

@ -38,13 +38,13 @@ namespace Oqtane.Models
if (pos != -1)
{
UrlParameters = PagePath.Substring(pos + 3);
PagePath = PagePath.Substring(1, pos);
PagePath = PagePath.Substring(0, pos);
}
pos = PagePath.IndexOf("/" + Constants.ModuleDelimiter + "/");
if (pos != -1)
{
ModuleId = PagePath.Substring(pos + 3);
PagePath = PagePath.Substring(1, pos);
PagePath = PagePath.Substring(0, pos);
}
if (ModuleId.Length != 0)
{