obsidian-ReadItLater
obsidian-ReadItLater copied to clipboard
Images don't load when the file name has URL-encoded characters
Please check that this issue hasn't been reported before.
- [X] I searched previous Bug Reports didn't find any similar reports.
Expected Behavior
Images with URL-encoded characters should show just the same as regular ones.
Current behaviour
Images with URL-encoded characters don't show, as obsidian seems to decode the characters in the reference but not the file.
Steps to reproduce
- Download Karl Marx - Wikipedia (or another example) with ReadItLater.
- In Obsidian, open the downloaded document.
- Scroll down to around line 60.
- Observe the 'could not be found' message.
Which Operating Systems are you using?
- [ ] Android
- [ ] iPhone/iPad
- [X] Linux
- [ ] macOS
- [ ] Windows
Obsidian Version
1.6.7
Plugin Version
0.5.1
Checks
- [X] I have tried it with all other plugins disabled and the error still occurs
Possible solution
You could replace the percent sign in the URL-encoding with another character that won't be decoded. An example of something you might use is @. This will solve the issue without introducing any new ones.