-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHOTO broken since 0.9.7 #33
Comments
Hey rfc2822, By "broken" do you mean you tried to get Android to consume such a vCard, and it failed? Yes, that empty line was added in 0.9.7. Someone reported an issue where Outlook 2010 sometimes has problems reading base64-encoded property values without a trailing empty line (see this issue). But if it's breaking on Android, then this issue should be revisited. |
No, I mean that DAVdroid (which is an Android app, which is the only relation between this issue and Android) generated the VCard (using ez-vcard), sent it to a CardDAV server (using HTTP PUT). This server then refused to accept the VCard because it couldn't parse it.
The issue is not related to Android at all. The issue is that other VCard parsers can't parse this VCard because it contains an (illegal? didn't scan the specs for that, but I have never seen empty lines in VCard before) empty line. |
Well, that's not good. Do you know what CardDAV server is being used? The specs definitely don't say to include an empty line after base64 property values. Sounds like a case of Outlook being "special". |
I believe it was the Oracle Communications Contacts server. However, I'd expect other servers to reject such VCards, too. Would it be possible to enable (Outlook-)workarounds only on request? |
That's what I'm thinking. Some sort of |
Added Fixed in c8da9a4 |
* fix lint warnings * line-break too long messages of network trace logs * DebugInfoActivity "send": attach log file instead if sending it as plain text * revert to ez-vcard 0.9.6 because of mangstadt/ez-vcard#33 * German translations
* fix lint warnings * line-break too long messages of network trace logs * DebugInfoActivity "send": attach log file instead if sending it as plain text * revert to ez-vcard 0.9.6 because of mangstadt/ez-vcard#33 * German translations
I have updated the ez-vcard dependency in vcard4android from 0.9.6 to 0.9.7, which causes the generated
PHOTO
property to be broken, because there's an empty line after the end of the property (note the double [CR][LF] at the end):I'm quite sure that's because of some changes from 0.9.6 to 0.9.7 (because when setting the dependency back to 0.9.6, everything works again), but if you like, I can write a test.
The text was updated successfully, but these errors were encountered: