6.0.0-beta1
7/18/25

[#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 Synchronization
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester horde (at) ssn (dot) at
Created 04/06/2008 (6312 days ago)
Due
Updated 05/01/2008 (6287 days ago)
Assigned 04/24/2008 (6294 days ago)
Resolved 05/01/2008 (6287 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/01/2008 10:26:20 PM Jan Schneider Taken from Karsten Fourmont
Taken from Jan Schneider
State ⇒ Duplicate
 
04/24/2008 04:25:33 PM 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 10:07:29 PM Chuck Hagenbuch State ⇒ Assigned
Assigned to Karsten Fourmont
 
04/10/2008 09:36:25 PM 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 02:22:06 PM 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 01:43:58 PM 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 05:46:51 PM 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 10:42:36 PM 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 10:00:15 PM Jan Schneider Comment #3 Reply to this comment
Then why don't you give the requested feedback there?
04/06/2008 09:16:46 PM 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 09:14:41 PM horde (at) ssn (dot) at Comment #1
New Attachment: Encoding_Folding_iCalendar.php.diff Download
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Folding of Encoded vCard-Lines is not correctly recognized by Funambol and Nokia
Type ⇒ Bug
Priority ⇒ 1. Low
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

Saved Queries