Fixed destination path not being checked
This commit is contained in:
@@ -149,6 +149,9 @@ namespace Barotrauma
|
||||
if (!IsPathAllowedException(path))
|
||||
return;
|
||||
|
||||
if (!IsPathAllowedException(destination))
|
||||
return;
|
||||
|
||||
File.Move(path, destination, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user