1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 19:52:21 -05:00

Caldav: allow tab as folding character, see RFC2445

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1696 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-06-06 21:51:29 +00:00
parent 694bacc4e0
commit b5f500f393

View File

@ -52,7 +52,7 @@ public class ICSBufferedReader extends BufferedReader {
currentLine.append(nextLine); currentLine.append(nextLine);
nextLine = super.readLine(); nextLine = super.readLine();
while (nextLine != null && !(nextLine.length() == 0) && while (nextLine != null && !(nextLine.length() == 0) &&
(nextLine.charAt(0) == ' ' (nextLine.charAt(0) == ' ' || nextLine.charAt(0) == '\t'
// workaround for Exchange 2010 bug // workaround for Exchange 2010 bug
|| nextLine.charAt(0) == ':')) { || nextLine.charAt(0) == ':')) {
// Timezone ends with \n => next line starts with : // Timezone ends with \n => next line starts with :