1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00

Escape backslashes in IMAP mailbox names

This commit is contained in:
Jesse Vincent 2011-01-05 13:12:30 +00:00
parent ead632aac6
commit 9f4790088e
2 changed files with 1 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -554,6 +554,7 @@ public class ImapStore extends Store
{
try
{
name = name.replace("\\","\\\\"); // backslashs in folder names must be escaped
ByteBuffer bb = mModifiedUtf7Charset.encode(name);
byte[] b = new byte[bb.limit()];
bb.get(b);