Merge pull request #4021 from sbwalker/dev

fix #4020 - EditUrl contains extra slash on child sites
This commit is contained in:
Shaun Walker
2024-03-19 14:16:50 -04:00
committed by GitHub

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;