Drag and drop image to v1.1.9 fails

Steps to reproduce

If I drag and drop a photo from my external drive, it sometimes does not get copied into obsidian. I tried it on the Sandbox with no plugins etc. (thanks for the tip this is a good way to test).

It seems to have to do with the naming of files. If the names are long the files do not get created in the vault. e.g. 2022_04_14 06 36 PM IMG_1433 04/14/2022.JPG fails when dragged from the external drive to the vault.

If I drag and drop a photo holding down the “option” key it creates a uri as expected with an external link to the file.

If I drag a photo from the MAC’s hard drive, it works as expected and the photo is added to my vault’s image location.

Environment

  • Operating system: MAC OS Big Sur 11.7.1
  • Debug info:

SYSTEM INFO:
Obsidian version: v1.1.9
Installer version: v0.15.9
Operating system: Darwin Kernel Version 20.6.0: Thu Sep 29 20:15:11 PDT 2022; root:xnu-7195.141.42~1/RELEASE_X86_64 20.6.0
Login status: logged in
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Please resubmit this bug report and make sure that: 1) you follow the bug report template, 2) you use the default theme (no css) and 3) there are no third-party plugins enabled (You can use the sandbox vault for 2 and 3).

Attach a screen recording of this happening in the sandbox vault.