You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you implement Carddav and your storage does not contain the vcard, you create the vcard with $tmp['carddata']=(\VObject\Component\VCard())->serialize();
Next in Plugin.php the card is unserialized and "converted".
It would be better to allow objects here as well, and do the serialization at this point. If it is required to always check the output format, even it is stored in the db, it would be best, to require carddata to be an VCard object.
The text was updated successfully, but these errors were encountered:
If you implement Carddav and your storage does not contain the vcard, you create the vcard with
$tmp['carddata']=(\VObject\Component\VCard())->serialize();
Next in Plugin.php the card is unserialized and "converted".
It would be better to allow objects here as well, and do the serialization at this point. If it is required to always check the output format, even it is stored in the db, it would be best, to require carddata to be an VCard object.
The text was updated successfully, but these errors were encountered: