mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 14:52:24 -05:00
Caldav: workaround for broken items with \n as first line character
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1874 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
bac0cf9fbf
commit
60f26c22ca
@ -54,6 +54,8 @@ public class ICSBufferedReader extends BufferedReader {
|
||||
nextLine = super.readLine();
|
||||
while (nextLine != null && !(nextLine.length() == 0) &&
|
||||
(nextLine.charAt(0) == ' ' || nextLine.charAt(0) == '\t'
|
||||
// workaround for broken items with \n as first line character
|
||||
|| nextLine.charAt(0) == '\\'
|
||||
// workaround for Exchange 2010 bug
|
||||
|| nextLine.charAt(0) == ':')) {
|
||||
// Timezone ends with \n => next line starts with :
|
||||
|
Loading…
Reference in New Issue
Block a user