Fixed crash when a library is set with a trailing /, fixes #552

This commit is contained in:
emeric
2024-11-14 23:18:00 +01:00
parent ffc780d350
commit 7b4791005a
5 changed files with 23 additions and 5 deletions
+2
View File
@@ -93,6 +93,8 @@ namespace lms::core::pathUtils::tests
{ "/root/", "/root/", true },
{ "/folder/file.txt", "/root", false },
{ "/folder/file.txt", "/root/", false },
{ "/file.txt", "/root", false },
{ "/file.txt", "/root/", false },
{ "", "/root", false },
};