[kopete] [Bug 225747] kopete does not encode utf xml properly when sending to jabber (xmpp) server

2016-08-23 Thread Pali Rohár via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=225747

--- Comment #9 from Pali Rohár  ---
*** Bug 314272 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kopete] [Bug 225747] kopete does not encode utf xml properly when sending to jabber (xmpp) server

2016-08-15 Thread Pali Rohár via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=225747

Pali Rohár  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
   Version Fixed In||16.08.1
  Latest Commit||http://commits.kde.org/kope
   ||te/f23d6ccc7a7f542059c3956d
   ||64d912a34584723e

--- Comment #8 from Pali Rohár  ---
Git commit f23d6ccc7a7f542059c3956d64d912a34584723e by Pali Rohár.
Committed on 15/08/2016 at 15:58.
Pushed by pali into branch 'Applications/16.08'.

jabber: Workaround bug in QtXML: Fix xmlToString when QDomElement contains
Unicode characters above 0x

Upstream:
https://github.com/psi-im/iris/commit/8612bc340421087cf0ebfd426661ff22f7351270

See also discussion:
https://github.com/psi-im/iris/pull/44
https://github.com/psi-im/iris/pull/43
https://github.com/psi-im/iris/issues/42
https://github.com/psi-im/iris/issues/13
https://bugreports.qt.io/browse/QTBUG-25291
Related: bug 314272
FIXED-IN: 16.08.1

A  +19   -0protocols/jabber/libiris/patches/01_qtxml_unicode.patch
M  +8-0protocols/jabber/libiris/src/xmpp/xmpp-core/xmlprotocol.cpp

http://commits.kde.org/kopete/f23d6ccc7a7f542059c3956d64d912a34584723e

-- 
You are receiving this mail because:
You are watching all bug changes.

[kopete] [Bug 225747] kopete does not encode utf xml properly when sending to jabber (xmpp) server

2016-08-14 Thread Pali Rohár via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=225747

--- Comment #7 from Pali Rohár  ---
This is bug in QtXml... My workaround for libiris:
https://github.com/psi-im/iris/pull/44

-- 
You are receiving this mail because:
You are watching all bug changes.

[kopete] [Bug 225747] kopete does not encode utf xml properly when sending to jabber (xmpp) server

2016-08-14 Thread Pali Rohár via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=225747

Pali Rohár  changed:

   What|Removed |Added

 CC||char...@kde.org

--- Comment #6 from Pali Rohár  ---
*** Bug 314272 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kopete] [Bug 225747] kopete does not encode utf xml properly when sending to jabber (xmpp) server

2016-08-14 Thread Pali Rohár via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=225747

Pali Rohár  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||pali.ro...@gmail.com
 Status|UNCONFIRMED |CONFIRMED

--- Comment #5 from Pali Rohár  ---
Confirmed, unicode characters in XML should be encoded as full codepoints, not
as UTF-16 surrogate pairs. Surrogate pairs are invalid in XML, so server should
really disconnect you.

See: http://www.w3.org/TR/REC-xml/#charsets

Character Range

[2]   Char   ::=   #x9 | #xA | #xD | [#x20-#xD7FF] |
[#xE000-#xFFFD] | [#x1-#x10]/* any Unicode character, excluding the
surrogate blocks, FFFE, and . */

-- 
You are receiving this mail because:
You are watching all bug changes.