Closed RobSanders closed 4 years ago
Currently when libcli detects a 'new' quote it starts a new word(possibly discarding anything before the new quote). So parsing the fragment \<"alpha"beta> you would get words \<alpha> and \<beta>. Suggest with the patch that libcli should treat any (unless escaped) quote as an implicit 'word' separator.
Fixed in 1.10.3
Currently cli_parse_line() is not correctly several types of lines with quotes. For example (ignore quotes for the 'parsed' output):
Note that in all 3 cases text is lost. Ideally libcli should support:
Open question on how two properly quoted strings without whitespace separating them should be handled. Combined into a single string, or converted into two separate tokens?