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

fix: sanitize NNBF characters in uploaded files #26022

Merged
merged 1 commit into from
May 22, 2024

Commits on May 22, 2024

  1. fix: replace non-word chars in uploaded filenames

    Storage maintains a list of allowed characters, which excludes some
    characters used automatically by OSes for naming files (e.g., Mac
    default screenshot naming). To preempt errors, replace any characters
    that aren't alphanumerics, underscores, hyphens, or periods with
    underscores.
    
    See: https://forum.obsidian.md/t/unable-to-attach-screenshot-images-in-macos-14-0-when-wikilinks-turned-off-urlencode-u-202f-char/68410/6
    charislam committed May 22, 2024
    Configuration menu
    Copy the full SHA
    08119f0 View commit details
    Browse the repository at this point in the history