Enonic version: 7.2.0
OS: Windows
Everything works great on Ubuntu.
But when I deploy to the Windows-server I get a bug.
If I upload “users.csv” then getMultipartText()
returns null
.
But if I rename the file to “users.csv.txt”, it works again.
The frontend form looks like this:
<form
method="post"
target="_blank"
enctype="multipart/form-data"
data-th-action="${csvServiceUrl}">
<label for="file">Upload CSV</label>
<input
type="file"
name="file"
id="file">
<button type="submit">Upload CSV</button>
</form>