This fixes a regression introduced by commit 99bfd817.
Attach a file by drag & drop or click to upload