mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
Escape backslashes in IMAP mailbox names
This commit is contained in:
parent
ead632aac6
commit
9f4790088e
Binary file not shown.
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 14 KiB |
@ -554,6 +554,7 @@ public class ImapStore extends Store
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
name = name.replace("\\","\\\\"); // backslashs in folder names must be escaped
|
||||||
ByteBuffer bb = mModifiedUtf7Charset.encode(name);
|
ByteBuffer bb = mModifiedUtf7Charset.encode(name);
|
||||||
byte[] b = new byte[bb.limit()];
|
byte[] b = new byte[bb.limit()];
|
||||||
bb.get(b);
|
bb.get(b);
|
||||||
|
Loading…
Reference in New Issue
Block a user