Skip to content

[BUG] config set success message is incorrect when key contains spaces #48513

@oxbullyellow

Description

@oxbullyellow

Project

cortex

Description

When a config key contains spaces (quoted in shell), config set appears to save it, but the success message prints the key/value ambiguously and incorrectly. Example: setting key "abc def" with value abc prints [OK] Set abc def = abc, which looks like multiple tokens and is misleading.

Error Message

Debug Logs

System Information

Linux 6.14

Screenshots

Image

Steps to Reproduce

  1. Run cortex config set "abc def" abc.
  2. Observe success message formatting.

Expected Behavior

Success output should preserve quoting/escaping for keys with spaces (for example: [OK] Set "abc def" = "abc"), so key and value boundaries are unambiguous.

Actual Behavior

Success message prints unquoted key/value text, which is ambiguous and misleading when keys contain spaces.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions