[kdepimlibs] [Bug 271859] vCard logical lines folded in the middle of utf-8 character

Martin Koller kollix at aon.at
Sat Mar 22 11:02:52 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=271859

Martin Koller <kollix at aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |4.13
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kdep
                   |                            |imlibs/63bbded8f55f2c539e0e
                   |                            |c5942b362cd26fc77a46

--- Comment #2 from Martin Koller <kollix at aon.at> ---
Git commit 63bbded8f55f2c539e0ec5942b362cd26fc77a46 by Martin Koller.
Committed on 22/03/2014 at 10:59.
Pushed by mkoller into branch 'KDE/4.13'.

avoid splitting UTF-8 encoded character in the middle of encoded bytes

The file format spec in RFC 6350 says:
http://tools.ietf.org/html/rfc6350#section-3.2
Line Delimiting and Folding
"Multi-octet characters MUST remain contiguous."
This patch avoids splitting an UTF-8 encoded character in the middle
of the encoded bytes
FIXED-IN: 4.13
REVIEW: 116933

M  +2    -0    kabc/vcardparser/testroundtrip.qrc
A  +14   -0    kabc/vcardparser/tests/vcard9.vcf
A  +14   -0    kabc/vcardparser/tests/vcard9.vcf.ref
M  +41   -3    kabc/vcardparser/vcardparser.cpp

http://commits.kde.org/kdepimlibs/63bbded8f55f2c539e0ec5942b362cd26fc77a46

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list