Folders starting with a dot are hhandled wrong

Steps to reproduce

add a folder .attachments to your project and put an image test.png there
add a link to that image ![[/.attachments/test.png]]
image will not be visible in Obsidian

Did you follow the troubleshooting guide? [Y/N]

Yes.

Expected result

do the same steps without the dot ![[/attachments/test.png]] everything will work as expected

Actual result

a “not found” error is being shown

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: Windows 11 Pro 10.0.26200
Login status: not logged in
Language: de
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none


Additional information

Hidden folders are not shown in explorer, which is ok. But to optionally enable seeing them would be fine.
I have a couple of projects with thousands of images in .attachments. So changing the folder structure is for me not possible.