bug found, here's the fix
This commit is contained in:
parent
95e75de815
commit
ad2858ee6d
|
@ -32,7 +32,10 @@ class FileCopier {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isTemporaryDestination(Path destination) {
|
private boolean isTemporaryDestination(Path destination) {
|
||||||
|
String temporaryFolderName = ConfigLoader.getLoader()
|
||||||
|
.getConfig(UPLOADS_PATHS)
|
||||||
|
.toLowerCase();
|
||||||
return destination.toString()
|
return destination.toString()
|
||||||
.contains(UPLOADS_PATHS.name().toLowerCase());
|
.contains(temporaryFolderName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue