]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix vCard properties basic validation
authorpcarana <pc.moreno2099@gmail.com>
Wed, 13 Jan 2021 16:47:24 +0000 (10:47 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 13 Jan 2021 16:47:24 +0000 (10:47 -0600)
src/object/vcard.c

index d16ab1a616054cff2bf761d1f8477a2ccd59d2ac..eee6a4087325859ff9f9067a30771a51ca957812 100644 (file)
@@ -234,9 +234,10 @@ __handle_ghostbusters_vcard(OCTET_STRING_t *vcard, struct vcard_line *line)
                        fn_found = true;
 
                } else if (line_starts_with(line, "ORG:")
-                   || line_starts_with(line, "ADR:")
-                   || line_starts_with(line, "TEL:")
-                   || line_starts_with(line, "EMAIL:")) {
+                   || line_starts_with(line, "ADR;")
+                   || line_starts_with(line, "TEL;")
+                   || line_starts_with(line, "EMAIL:")
+                   || line_starts_with(line, "EMAIL;")) {
                        useful_found = true;
 
                } else if (line_starts_with(line, "END:")) {