Trim filenames

This commit is contained in:
Thomas Miceli 2023-04-28 20:41:12 +02:00
parent 64d0818c9f
commit 2b3043ad5d
No known key found for this signature in database
GPG key ID: D86C6F6390AF050F

View file

@ -240,7 +240,7 @@ func processCreate(ctx echo.Context) error {
}
dto.Files = append(dto.Files, models.FileDTO{
Filename: name,
Filename: strings.Trim(name, " "),
Content: escapedValue,
})
}