Package enhancements for Marketplace

This commit is contained in:
sbwalker
2023-07-09 08:36:14 -04:00
parent 1b2de37c4e
commit 9a3b458c45
9 changed files with 37 additions and 12 deletions

View File

@ -80,7 +80,7 @@ namespace Oqtane.Controllers
public Folder GetByPath(int siteId, string path)
{
var folderPath = WebUtility.UrlDecode(path).Replace("\\", "/");
if (!folderPath.EndsWith("/"))
if (!folderPath.EndsWith("/") && folderPath != "")
{
folderPath += "/";
}