Skip to content
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

vCard BDAY field should not have VALUE parameter #1586

Open
l0b0 opened this issue Oct 2, 2024 · 1 comment
Open

vCard BDAY field should not have VALUE parameter #1586

l0b0 opened this issue Oct 2, 2024 · 1 comment
Labels
dependency:vobject external dependency "vobject" related

Comments

@l0b0
Copy link

l0b0 commented Oct 2, 2024

First, thank you very much for this software! It might just be the final nail in my Google account's coffin.

The vCard 3.0 BDAY type does not support parameters, causing validation to fail on an export from Radicale:

$ vcard contacts/addresses.vcf 
Property should not have parameters (See RFC 2426 section 3 for details): {'VALUE': {'DATE'}}
File: contacts/addresses.vcf
File line: 25
vCard line: 4
Property: BDAY
Property line: BDAY;VALUE=DATE:19440217

To reproduce:

  1. Import a valid vCard with a BDAY line into Thunderbird 128.2.3esr connected to Radicale 3.2.3.
  2. Export vCard file from Radicale

Workaround: sed --in-place --expression='s/BDAY;VALUE=DATE:/BDAY:/' addresses.vcf

@pbiering pbiering added the dependency:vobject external dependency "vobject" related label Oct 2, 2024
@pbiering
Copy link
Collaborator

pbiering commented Oct 2, 2024

Can you please more specify the workflow?

From my understanding

  • valid vCard including BDAY was imported to Thunderbird using local import
  • Thunderbird is connected to Radicale
  • What is meant with "export vCard" file from Radicale

Radicale itself is not touching the content of ICS or VCF, parsing is "outsourced" to dependency "vobject"

"vobject" should also not adjust content, can it be that Thunderbird itself modified the vCard before sending to Radicale?

Can you provide an anonymized example to try to reproduce?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency:vobject external dependency "vobject" related
Projects
None yet
Development

No branches or pull requests

2 participants