Merge pull request #119 from NickeZ/list-quoting-fix
Fix quoting issue in LIST command
This commit is contained in:
commit
d4287c907d
1 changed files with 1 additions and 1 deletions
|
|
@ -895,7 +895,7 @@ impl<T: Read + Write> Session<T> {
|
|||
) -> ZeroCopyResult<Vec<Name>> {
|
||||
self.run_command_and_read_response(&format!(
|
||||
"LIST {} {}",
|
||||
quote!(reference_name.unwrap_or("\"\"")),
|
||||
quote!(reference_name.unwrap_or("")),
|
||||
mailbox_pattern.unwrap_or("\"\"")
|
||||
))
|
||||
.and_then(|lines| parse_names(lines, &mut self.unsolicited_responses_tx))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue