Skip to content

Commit 6bae4c3

Browse files
committed
Fixes #36
1 parent aef0260 commit 6bae4c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/de/interactive_instruments/etf/webapp/controller/TestObjectController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ public String addFileTestData(
274274
if (multipartFile != null && !multipartFile.isEmpty()) {
275275
// Transfer file to tmpUploadDir
276276
final IFile testObjFile = this.tmpUploadDir.secureExpandPathDown(
277-
testObject.getLabel() + "_" + multipartFile.getName());
277+
testObject.getLabel() + "_" + multipartFile.getOriginalFilename());
278278
testObjFile.expectFileIsWritable();
279279
multipartFile.transferTo(testObjFile);
280280
final String type;

0 commit comments

Comments
 (0)