Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
3.4.0
-
None
-
-
License server development 46
Description
- Calling utils::removeDir() with a path that does not end with a directory separator ("/") appears to instead delete the parent directory of the passed directory as well:
utils::removeDir("/home/<user>/test1/test2")
- expected result:
- only "test2" directory and its contents are removed
- actual result:
- test1 with its contents are removed
This reproduces at least on Linux.