diff options
author | Mandeep Sandhu <mandeepsandhu.chd@gmail.com> | 2013-12-20 16:58:20 +0530 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2013-12-30 12:20:44 +0800 |
commit | 8078d29fdaa9d138d0b28b0e84e1d7c0279afbd3 (patch) | |
tree | 9a4e8992a0f01ff5ba6f71aafeeb46138cb2c66c /builtin_test.cpp | |
parent | 541db5fbbea9cbe4412472621965515b2297e9c2 (diff) |
Fix completion bug for special fish characters.
Issue #1108: If there are special characters like '{' in the
completion suggestions, then we fail to parse it successfully
as we are passing an unescaped version of the character to
parser_t::eval_args(...).
This causes us to retun w/o completion suggestions.
This bug was discovered while implementing 'git stash' completion
as the suggestion contained strings like 'stash@\{0\}'.
Th fix is to properly escape the string before parsing it.
Diffstat (limited to 'builtin_test.cpp')
0 files changed, 0 insertions, 0 deletions