mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
LDAP: Make sure we do not send empty description field, replace " \n" with null
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@713 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
15396def25
commit
c434a5dace
@ -2733,6 +2733,8 @@ public class ExchangeSession {
|
|||||||
} catch (ParseException e) {
|
} catch (ParseException e) {
|
||||||
throw new IOException(e);
|
throw new IOException(e);
|
||||||
}
|
}
|
||||||
|
} else if ("textdescription".equals(propertyName) && " \n".equals(propertyValue)) {
|
||||||
|
propertyValue = null;
|
||||||
}
|
}
|
||||||
if (propertyValue != null && propertyValue.length() > 0) {
|
if (propertyValue != null && propertyValue.length() > 0) {
|
||||||
item.put(propertyName, propertyValue);
|
item.put(propertyName, propertyValue);
|
||||||
|
Loading…
Reference in New Issue
Block a user