Correctly exclude cards where TYPE is not set on TEL records.

Commit f1bc3b0dc00d42bb6c3053559230690ae1a6745b in AWL fixed this behaviour.
This commit is contained in:
Andrew Ruthven 2021-02-04 23:14:49 +13:00
parent 963772a0f0
commit f94b000cc1

View File

@ -1101,38 +1101,6 @@ X-DESCRIPTION;CHARSET=utf-8:außerdem
CATEGORIES:uni
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/addressbook/J%C3%B6rg_Test-Ro%C3%9Fdeutscher_2_0.vcf</href>
<propstat>
<prop>
<getetag>some valid etag</getetag>
<VC:address-data>BEGIN:VCARD
VERSION:2.1
N;CHARSET=UTF-8:Test-Roßdeutscher;Jörg;;;
FN;CHARSET=UTF-8:Jörg Test-Roßdeutscher
ORG:Factor Design AG;
EMAIL;INTERNET;WORK:joerg.rossdeutscher@factordesign.foo
EMAIL;INTERNET;WORK:joerg@factordesign.foo
EMAIL;INTERNET;HOME:joerg.rossdeutscher@gesindel.foo
EMAIL;INTERNET;HOME:raettchen@gmail.bar
TEL;WORK:040 999999432571-43
TEL;CELL:017799999978200
TEL;HOME:040999999793017
ADR;WORK;CHARSET=UTF-8:;;abcStraße 58;Hamburg;;20357;Deutschland
ADR;HOME:;;Gayens Weg 9;Hamburg;;22761;Deutschland
NOTE;CHARSET=UTF-8:
Technik\, Web\, DTP\, SysAdmin\, €-Vermögensverwalter
URL;TYPE=pref:www.gesindel.baz
URL:www.factordesign.foo
BDAY;VALUE=date:1969-06-20
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
@ -1170,31 +1138,6 @@ X-ABUID:58AB933D-81D3-4095-8CB5-A63431AC934D:ABPerson
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/caldav.php/user1/addresses/def02753-ea1c-aa34-957d-aa847deb7a55.vcf</href>
<propstat>
<prop>
<getetag>some valid etag</getetag>
<VC:address-data>BEGIN:VCARD
FN:Donald Kelly
N:Kelly;Donald
ORG:Esposo Designs Ltd
ADR:Newtown;;25 Rintoul St;Wellington;;;New Zealand
EMAIL;INTERNET:donald@example.co.nz
TITLE:Proprietor
TEL;WORK:+64 4 347 4747
TEL;CELL:+64 2 1234-4321
X-MOZILLA-HTML:TRUE
URL:www.example.co.nz
VERSION:2.1
UID:a nice UID
REV:date
END:VCARD
</VC:address-data>
</prop>
<status>HTTP/1.1 200 OK</status>