Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images don't load when the file name has URL-encoded characters #175

Open
3 of 7 tasks
Asten-Valentinus opened this issue Sep 19, 2024 · 0 comments
Open
3 of 7 tasks
Labels
type: bug Something isn't working

Comments

@Asten-Valentinus
Copy link

Asten-Valentinus commented Sep 19, 2024

Please check that this issue hasn't been reported before.

  • 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

  1. Download Karl Marx - Wikipedia (or another example) with ReadItLater.
  2. In Obsidian, open the downloaded document.
  3. Scroll down to around line 60.
  4. Observe the 'could not be found' message.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.6.7

Plugin Version

0.5.1

Checks

  • 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.

@Asten-Valentinus Asten-Valentinus added the type: bug Something isn't working label Sep 19, 2024
@Asten-Valentinus Asten-Valentinus changed the title Images don't load when the file name has URL-encoded brackets Images don't load when the file name has URL-encoded characters Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant