Skip to content

Commit 0625a99

Browse files
committed
stupid workaround for stupid silly problem ... uff
1 parent da40a68 commit 0625a99

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎caldav/search.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,9 @@ def build_search_xml_query(
451451
if self._property_operator[property] == "undef":
452452
match = cdav.NotDefined()
453453
else:
454-
match = cdav.TextMatch(self._property_filters[property].to_ical())
454+
## TODO - TODO - TODO ... this replace-logic is weird, there may be other
455+
## dragons here
456+
match = cdav.TextMatch(self._property_filters[property].to_ical().replace(b'\\,',b','))
455457
filters.append(cdav.PropFilter(property.upper()) + match)
456458

457459
if comp_filter and filters:

0 commit comments

Comments
 (0)