obsidianmd/obsidian-api

Bug: the normalizePath function Unable to completely filter illegal characters

flyer1b opened this issue · 1 comments

Steps to reproduce:

  • when I write the article with the title,it notice the error.
  • image
  • key code:
image

normalizePath isn't meant to strip or clean the path itself; its purpose is to normalize the path components to remove duplicate slashes and convert all slashes to forward slashes. You should strip/clean the filenames before sending it through.