-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle save_data keys without label (Fixes #332)
Roundcube under certain circumstances passed multi-value fields without a label (e.g. instead of email:home, it uses the key email). One such situation is when using the "add to addressbook" functionality from the mail view. Additionally, in this case roundcube does not pass the addresses as an array, but as a plain string value. This situation was already handled though.
- Loading branch information
1 parent
8c9815a
commit b7d1d0b
Showing
6 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "Chairman Wesker", | ||
"firstname": "Albert", | ||
"surname": "Wesker", | ||
"email": "[email protected]", | ||
"phone": "12345", | ||
"website": "https://wesker.example.com", | ||
"address": [ | ||
{ | ||
"street": "239 Umbrella Ave", | ||
"locality": "Tokyo", | ||
"region": "Kanto", | ||
"zipcode": "99887", | ||
"country": "Japan" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BEGIN:VCARD | ||
VERSION:3.0 | ||
PRODID:-//Sabre//Sabre VObject 4.3.1//EN | ||
UID:sabre-vobject-005e805f-0bc1-4333-8be2-97889fb45b7a | ||
REV:2020-08-27T20:38:49Z | ||
N:Wesker;Albert;;; | ||
FN:Chairman Wesker | ||
EMAIL:[email protected] | ||
TEL:12345 | ||
URL;VALUE=URI:https://wesker.example.com | ||
ADR:;;239 Umbrella Ave;Tokyo;Kanto;99887;Japan | ||
END:VCARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters