Merge pull request #4183 from sbwalker/dev

fix path issue for root page
This commit is contained in:
Shaun Walker
2024-04-23 13:15:55 -04:00
committed by GitHub

View File

@ -44,7 +44,7 @@ namespace Oqtane.Shared
string querystring = "";
string fragment = "";
if (!string.IsNullOrEmpty(path)) path = "/" + path;
if (!string.IsNullOrEmpty(path) && !path.StartsWith("/")) path = "/" + path;
if (!string.IsNullOrEmpty(parameters))
{