This appears to have been fixed in some recent CURL version.
Attach a file by drag & drop or click to upload