ACS-11995 Fix badSourceFilename regression and upgrade Spring Boot to 4.0.7 (#1303)

This commit is contained in:
tathagta15
2026-07-07 14:08:13 +05:30
committed by GitHub
parent 76204dd484
commit 7f0b60a342
2 changed files with 3 additions and 4 deletions
@@ -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;
+1 -2
View File
@@ -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>