fix #4020 - EditUrl contains extra slash on child sites
This commit is contained in:
parent
3eb9de57ef
commit
e37bc99c36
|
@ -97,7 +97,7 @@ namespace Oqtane.Shared
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
path = ((!string.IsNullOrEmpty(alias)) ? alias + "/" : "") + path;
|
path = ((!string.IsNullOrEmpty(alias)) ? alias + (!path.StartsWith("/") ? "/" : "") : "") + path;
|
||||||
}
|
}
|
||||||
|
|
||||||
return path;
|
return path;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user