I believe this will fix issue #1382. I do not know how to test though.
Attach a file by drag & drop or click to upload