Commit 0352c3ee authored by Pali Rohár's avatar Pali Rohár
Browse files

Update libiris from https://github.com/psi-im/iris.git commit...

Update libiris from https://github.com/psi-im/iris.git commit e1e776b5b7752dca7b9383677850f72dc7375fdb

Ignore /[\r\n]+/ in vcard base64 photo

CCBUG: 324937
parent 2d0479c6
......@@ -549,7 +549,7 @@ bool VCard::fromXml(const QDomElement &q)
else if ( tag == "NICKNAME" )
d->nickName = i.text().trimmed();
else if ( tag == "PHOTO" ) {
d->photo = QCA::Base64().stringToArray(subTagText(i, "BINVAL").replace("\n","")).toByteArray();
d->photo = QCA::Base64().stringToArray(subTagText(i, "BINVAL").replace(QRegExp("[\r\n]+"),"")).toByteArray();
d->photoURI = subTagText(i, "EXTVAL");
}
else if ( tag == "BDAY" )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment