Patch by Victor Ryzykh (cherry picked from commit 9fedd1e7)
Attach a file by drag & drop or click to upload