ensure that default-directory is an ordinary file name before turning off file-name-handler-alist.
Attach a file by drag & drop or click to upload