Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

[bug] file name sanitization with [] #136

@nhomble

Description

@nhomble

When creating a new note from a feed item with [ or ] in the title, the filename is not sanitized such that the note cannot be created.

I think this can be fixed by modifying

var FILE_NAME_REGEX = /["\/<>:|?]/gm;

by adding \[\]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions