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

Escape issue in vault name #12

Open
etiennejls opened this issue Jul 5, 2024 · 1 comment
Open

Escape issue in vault name #12

etiennejls opened this issue Jul 5, 2024 · 1 comment

Comments

@etiennejls
Copy link

etiennejls commented Jul 5, 2024

Ok, I have a vault name containing the special character "é", I also have the exact same character in the subfolder path. The extension escape this character with %25C3%25A9, in both cases, which is correct.
However when I clip a content, I got the error message:
"Unable to find vault [...]%25C3%25A9[...]"
Even thought considering the escape character, it does exist.
I investigated a bit, when I manually remove the %25 on the vault name (%25 is the escape of %), i.e. the escape become %C3%A9, tadaaa it works. And I DIDN'T apply the same change on the subfolder path ! So my conclusion, the vault name and folder path are NOT escaped similarly inside obsidian advanced URI extension... How to solve this ?

@etiennejls
Copy link
Author

A simple workarround, would be to escape special character in vault name without escaping the '%' (%25),
e.g. : é -> %C3%A9
When on subfolder the current escape can be applied:
e.g.: é -> %25C3%25A9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant