From 0275facfd581cf4ee120ffefa09da13fd103c18d Mon Sep 17 00:00:00 2001 From: Aptivi Date: Thu, 4 Apr 2024 13:51:12 +0300 Subject: [PATCH] imp - Whitelisted X-OTHER for other types --- We've whitelisted X-OTHER type for all the part types. --- Type: imp Breaking: False Doc Required: False Part: 1/1 --- VisualCard/Parsers/VcardParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VisualCard/Parsers/VcardParser.cs b/VisualCard/Parsers/VcardParser.cs index 9c9f2a2..4b45eef 100644 --- a/VisualCard/Parsers/VcardParser.cs +++ b/VisualCard/Parsers/VcardParser.cs @@ -68,7 +68,7 @@ public Card Parse() // Iterate through all the lines bool constructing = false; StringBuilder valueBuilder = new(); - string[] allowedTypes = ["HOME", "WORK", "PREF"]; + string[] allowedTypes = ["HOME", "WORK", "PREF", "X-OTHER"]; for (int i = 0; i < CardContent.Length; i++) { // Get line