dev delete config
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-02-17 10:54:51 +07:00
parent 01b0c12eca
commit e416835c51
@@ -73,7 +73,9 @@ public class FileController {
throw new RuntimeException("File is not protected");
}
String fileName = fileEntity.getOriginalFileName();
String fileName = fileEntity.getOriginalFileName().replace("." +
fileEntity.getFileExtension(), "") + "_nocopy_protected" +
"." + fileEntity.getFileExtension();
String encodedFileName = URLEncoder.encode(fileName, StandardCharsets.UTF_8)
.replace("+", "%20");