Skip to content

Commit

Permalink
Merge pull request #1476 from da4089/master
Browse files Browse the repository at this point in the history
Allow quoted-printable encoding for vObjects.
  • Loading branch information
pbiering authored Apr 27, 2024
2 parents 706e663 + a009bb5 commit a6368d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicale/item/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def read_components(s: str) -> List[vobject.base.Component]:
s = re.sub(r"^(PHOTO(?:;[^:\r\n]*)?;ENCODING=b(?:;[^:\r\n]*)?:)"
r"data:[^;,\r\n]*;base64,", r"\1", s,
flags=re.MULTILINE | re.IGNORECASE)
return list(vobject.readComponents(s))
return list(vobject.readComponents(s, allowQP=True))


def predict_tag_of_parent_collection(
Expand Down

0 comments on commit a6368d8

Please sign in to comment.