PDF preview broken when dragging and dropping filename with # character

Steps to reproduce

Have a file named Invoice #147.pdf
Drag and drop into a page.

If the filename is renamed to something without the # character the previous works as expected.

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

The issue still happens in sandbox mode.

Expected result

I expect to see the PDF preview.

Actual result

Environment

SYSTEM INFO:
	Obsidian version: v1.6.5
	Installer version: v1.5.12
	Operating system: Darwin Kernel Version 23.5.0: Wed May  1 20:14:59 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8122 23.5.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

This is not a bug. We don’t support # and other special characters in links.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.