fix #4020 - EditUrl contains extra slash on child sites

This commit is contained in:
sbwalker 2024-03-19 14:16:37 -04:00
parent 3eb9de57ef
commit e37bc99c36

View File

@ -97,7 +97,7 @@ namespace Oqtane.Shared
}
else
{
path = ((!string.IsNullOrEmpty(alias)) ? alias + "/" : "") + path;
path = ((!string.IsNullOrEmpty(alias)) ? alias + (!path.StartsWith("/") ? "/" : "") : "") + path;
}
return path;