Subject: | Mailbox names containing a double quote break returns from the LIST command |
In lib/Net/IMAP/Server/Command/List.pm, line 57 is:
my $name = q{"}.Encode::encode('IMAP-UTF-7',$node->full_path).q{"};
However, if the full_path contains one or more double quotes, quoting
fails and the path is returned truncated.
Changing it to:
my $name = Encode::encode('IMAP-UTF-7',$node->full_path);
$name =~ s/"/\\"/g;
$name = q{"}.$name.q{"};
resolves the problem.
Cheers
Vittal