Hello, Björn
We (SyncEvolution) has found a problem integrating with mobical.net[1]:
Upload a photo to mobical contact and then sync it to client, the photo can't
be shown on client.
My first investigation is something like a bug at the server side:
From RFC2425:
Unfolding is accomplished by regarding CRLF
immediately
followed by a white space character (namely HTAB ASCII decimal 9 or
SPACE ASCII decimal 32) as equivalent to no characters at all (i.e.,
the CRLF and single white space character are removed).
The encoded base 64 value can be
split across multiple physical lines in the content type by using the
line folding technique described above.
While mobical is sending us:
PHOTO;TYPE=JPEG;ENCODING=BASE64:/9j/4AAQSkZJRgABAQEAYABgAAD/4QAWRXhpZgAASUkqAAgAAAAAAAAAAAD/2wBDAAgGBgcG\r\n
more data next line...
We need a space immediately after CRLF to consider it as line unfolding,
otherwise We are thinking this comes end of property value.
Could you help verify it?
[1]
http://bugzilla.moblin.org/show_bug.cgi?id=6668
Thanks,
Chen,Congwu