Steps to reproduce
Ctrl+drag some file, or create an external file URI from scratch:

(it doesn’t matter if it doesn’t exist)
Then edit the file path, e.g. just after temp/file
add percent character %
with the intention to write %20
for space.
Did you follow the troubleshooting guide? [Y/N] y
Expected result
You can write the characters without being interrupted.
Actual result
An error popup appears when typing %
, and also 2
.
A JavaScript error occurred in the main process
Uncaught Exception:
URIError: URI malformed
at decodeURIComponent (<anonymous>)
at t (~/.config/obsidian/obsidian-1.8.9.asar/main.js:38:3987)
at Function.<anonymous> (~/.config/obsidian/obsidian-1.8.9.asar/main.js:38:4196)
```
Only when you type `0` and completing `%20`, the special code is recognized and there is no error anymore.
### Environment
<!-- Paste your debug info below, which can be accessed by Command Palette (Ctrl/Cmd-P on Desktop, Swipe down from the top on mobile) enter "Show debug info", and click "Copy to clipboard". -->
SYSTEM INFO:
Obsidian version: v1.8.9
Installer version: v1.8.4
Operating system: #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 5.15.0-134-generic
Login status: not logged in
Language: en
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
<!--
Anything else you think would help our investigation, like a screenshot or a log file?
You can drag and drop screenshots to this box.
For large amount of text, try putting them into something like Pastebin.
For videos, upload them somewhere and drop a link here.
-->
In my case I wanted to write the hash symbol `#` as `%23` but the issue was the same.