mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2026-09-16 18:12:54 +00:00
ACS-11995 Fix badSourceFilename regression and upgrade Spring Boot to 4.0.7 (#1303)
This commit is contained in:
+2
-2
@@ -107,8 +107,8 @@ public class FileManager
|
||||
*/
|
||||
private static String checkFilename(boolean source, String filename)
|
||||
{
|
||||
filename = filename == null ? "" : new File(filename).getName();
|
||||
if (filename.isEmpty())
|
||||
filename = getFilename(filename);
|
||||
if (filename == null || filename.isEmpty())
|
||||
{
|
||||
String sourceOrTarget = source ? "source" : "target";
|
||||
HttpStatus statusCode = source ? BAD_REQUEST : INTERNAL_SERVER_ERROR;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>4.0.6</version>
|
||||
<version>4.0.7</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
@@ -40,7 +40,6 @@
|
||||
|
||||
<parent.core.deploy.skip>false</parent.core.deploy.skip>
|
||||
<commons-lang3.version>3.18.0</commons-lang3.version>
|
||||
<logback.version>1.5.33</logback.version>
|
||||
<spring-retry.version>2.0.12</spring-retry.version>
|
||||
</properties>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user