Skip to content

Toolbelt replaces spaces with + when trying to create/edit/run/delete a schedule #44

@nahi

Description

@nahi

Up till now, to maintain backwards compatibility with our buggy command-line client, we "sanitize" query names that have non [a-z0-9_] characters. The resulting name is what's used on the CLI, and it must be unique. But having a name like "「日本語日本語(01月曜日)」" gets sanitized to "01", which is bad and may not be unique.

Using the actual query name on the CLI, though, has problems because the CLI turns spaces in to "+" before making the request. So creating a query from the CLI named "Has space" will actually save a query called "Has+space". Also, if you saved a query called "Has space" from the console, you won't be able to edit/run/delete it from the CLI because it will try to edit/run/delete "Has+space" instead.

We need to fix the CLI to handle names with spaces correctly, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions