Cannot open link if path contains %

Steps to reproduce

Create a wiki style link to a folder with %3F in the name. E.g.
[link_text](<C:\Users\user\How-To-%3F>)

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

Y

Expected result

Actual result

File Explorer should open to the folder, or the default app should open whatever file is targeted within the folder.

Environment

SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.4.13
Operating system: Windows 10 Enterprise 10.0.22000
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 11
Plugins enabled: 7
1: PlantUML v1.7.0
2: Kanban v1.5.3
3: Settings Search v1.3.10
4: Outliner v4.8.0
5: Code Editor Shortcuts v1.14.0
6: Tasks v6.0.0
7: Advanced Tables v0.21.0

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

You can see that the %3f is being resolved as a Reserved Character Encoding question mark:

Try encoding the % as %25. e.g.

[link text](file:///C:%5CUsers%5CUSER%5CDesktop%5CHow-To-%253F)

1 Like

links to local files should use file:///

Ah, okay, I understand. Apologies, I got caught up in the layers of percent-encoding.
Thank you!

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