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
commit e4c1b17810
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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))
{