-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Double quote in contact name breaks auto-complete #1844
Comments
Not sure what to do against this. |
escape the char? |
At which point? |
yes 😆 It's a CLI, so it should behave like the CLI's we're all used to, i.e.:
Internally we still work with unescaped data, i.e. after reading a line, we must unescape the input and only then do further processing. What do you think? Missing something? |
How do we know when the " is required by our command and when it is part of a name (etc)? I think we have some commands where we already escape the " maybe. Need to check later. |
Well I guess that's part of the 'Missing something?' ... Maybe this will also lead to different usage behavior!? ... This needs to be thoroughly thought through and checked, but IMO it must be fixed, even if it leads to different required usage behavior. (e.g. our users then have to escape some input which they didn't have to before) |
Double quotes in contact names (to indicate nicknames for example) like
Max "plew" Mustermann
are not escaped by auto-complete. For example/info Max<tab>
would auto-complete to/info "Max "plew" Mustermann"
and result in aEnvironment
profanity -v
profanity 1:0.13.1-4
The text was updated successfully, but these errors were encountered: