[#6572] Folding of Encoded vCard-Lines is not correctly recognized by Funambol and Nokia
Summary Folding of Encoded vCard-Lines is not correctly recognized by Funambol and Nokia
Queue SyncML
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester horde (at) ssn (dot) at
Created 04/06/2008 (154 days ago)
Due
Updated 05/01/2008 (129 days ago)
Assigned 04/24/2008 (136 days ago)
Resolved 05/01/2008 (129 days ago)
Attachments Encoding_Folding_iCalendar.php.diff Download
Milestone
Patch No

History
05/01/2008 Jan Schneider State ⇒ Duplicate
Taken from Jan Schneider
Taken from Karsten Fourmont
 
04/24/2008 Gunnar Wrobel Comment #9
State ⇒ Feedback
Reply to this comment
Sounds like bug 6555 to me. Can you test the patch provided in that bug?
04/23/2008 Chuck Hagenbuch State ⇒ Assigned
Assigned to Karsten Fourmont
 
04/10/2008 horde (at) ssn (dot) at Comment #8 Reply to this comment
When the line has spaces (and is folded) it works on my E90 and on 
Outlook/Funambol

When the line has no spaces it works not - the record will not reach 
the client if the line exceeds a length of about 150 characters

For Contacts this should be sufficient - what I can't test is, when 
attaching binary data - e.g. a picture. This has no spaces and so 
folding wont work.


04/10/2008 Jan Schneider Comment #7 Reply to this comment
When having spaces the line is folded, but as far as I understand the
RFC I would say the first line is too long.
AFAIK the line INCLUDING the attribute and param-information should
be folded by 75 characters - but it is folded at
75+Length(attribute+params).
*should*. And this is only a problem with vCard 2.1 anyway, 3.0 has 
different folding rules. And most important: the specs are so vague 
that every client seems to interpret it differently, or don't do any 
folding at all for cases where the specs are not clear. That what we 
do now too.

I don't care about the specs anymore, I only want the files to work 
with other clients. So does it work now or not?
04/10/2008 horde (at) ssn (dot) at Comment #6 Reply to this comment
When having a Line without spaces the line isn't folded at all.

When having spaces the line is folded, but as far as I understand the 
RFC I would say the first line is too long.
AFAIK the line INCLUDING the attribute and param-information should be 
folded by 75 characters - but it is folded at 
75+Length(attribute+params).

Tested Horde->Client only!

regards
Lukas
04/09/2008 Jan Schneider Comment #5
Priority ⇒ 2. Medium
State ⇒ Feedback
Assigned to Jan Schneider
Reply to this comment
Can you try the latest CVS?
04/06/2008 horde (at) ssn (dot) at Comment #4 Reply to this comment
Sorry, thought I made a comment there - but this seems to have 
happened in my phantasy only...

04/06/2008 Jan Schneider Comment #3 Reply to this comment
Then why don't you give the requested feedback there?
04/06/2008 horde (at) ssn (dot) at Comment #2 Reply to this comment
aahhh - forgot to mention:
This could be related to the changes made according to Bug #6547
04/06/2008 horde (at) ssn (dot) at Comment #1
New Attachment: Encoding_Folding_iCalendar.php.diff Download
Patch ⇒
Milestone ⇒
Queue ⇒ SyncML
Summary ⇒ Folding of Encoded vCard-Lines is not correctly recognized by Funambol and Nokia
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
Encoded Lines are always folded directly after the Paramters-Part of 
the line. This might be correct (couldn't find neither pro nor contra 
in RFC).
But Funambol and Nokia unfold uncorrectly - as far as I could see, the 
don't understand when the Value-part starts with =\n

The attached patch (iCalendar.php) uses the Name+Parms and the encoded 
Value-Part together to calculate folding.

regards
Lukas