Links to folders with special characters on a server do not decode correctly for Windows explorer

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

I am trying to link to a folder that I would normally access via for example
\\mycompanyfileservername.com\dfs\SWE\Götlaborg

Expected result

Windows explorer should open at that folder location

Actual result

Nothing

Environment

  • Operating system:
  • Obsidian version:
    Windows 10 Enterprise version 20H2

Additional information

So when I enter
file://\\mycompanyserver.com\dfs\location\Stockholm
That works perfectly but when I enter
file://\\mycompanyserver.com\dfs\location\Göteborg
That does not work, Windows explorer does not recognize the URI code:
Looks like Obsidian has translated it into something like:
“file:////mycompanyserver.com/dfs/SWE/G%C3%B6teborg/”
Which does not work for explorer.
Windows explorer does no longer support the decoding of the escape character %. So when the folder names contain special characters AND are not local but on a network server there is an error. Linking to local files like “file://c:/göteborg/” works fine.

2 Likes

Obsidian v12.19