Details can be found in the discussion:
The path where to store a document is composed of
- document store path
- document id
- document name
as can be seen in the source code.
So it should look like
However, on Windows the whole path of the document is taken from the form as a document name which causes a malformed URL to be created:
I have tried the same scenario using Fedora and there is just the name displayed upon uploading, so it works on Linux correctly, see the screenshot.