mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
support mime encoded attachment name
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@39 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
c3e80f82fb
commit
163e611bd1
@ -1324,6 +1324,8 @@ public class ExchangeSession {
|
||||
if (name.startsWith("\"")) {
|
||||
name = name.substring(1, name.lastIndexOf("\""));
|
||||
}
|
||||
// name can be mime encoded
|
||||
name = MimeUtility.decodeText(name);
|
||||
} else if ("boundary".equals(tokenName)) {
|
||||
boundary = token.substring(equalsIndex + 1);
|
||||
if (boundary.startsWith("\"")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user