Add various fixes for Web

This commit is contained in:
Wojtek Figat
2026-02-16 11:59:44 +01:00
parent 3d206e06d0
commit 4ccf969f7a
8 changed files with 15 additions and 7 deletions

View File

@@ -357,6 +357,8 @@ StringView StringUtils::GetPathWithoutExtension(const StringView& path)
void StringUtils::PathRemoveRelativeParts(String& path)
{
FileSystem::NormalizePath(path);
if (path.Length() == 1 && path[0] == TEXT('/'))
return;
Array<String> components;
path.Split(TEXT('/'), components);