--nextPart1328682.3pcj2rdxAQ Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Em Ter=C3=A7a-feira 18 Agosto 2009, =C3=A0s 18:34:18, voc=C3=AA escreveu: > As pointed out by Thomas L=C3=BCbking ( > http://permalink.gmane.org/gmane.comp.kde.devel.general/58749 ), > KMainWindow attempts to sanitize what it will allow in the dbus path. Th= is > fixes it to only allow legal characters in the entire path (including the > part from appName). Using QChar::isLetter and related allows non-ASCII, = so > we need our own validation function (this one in fact comes from > qdbusutil.cpp). Patch makes sense. Ship it. The only cosmetic change I would make is to name the function=20 "isValidDBusObjectPathCharacter". >=20 > built, ran kcalc KCalc wouldn't show the issue. =2D-=20 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Senior Product Manager - Nokia, Qt Development Frameworks PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 Qt Developer Days 2009 | Registration Now Open! Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4 http://qt.nokia.com/qtdevdays2009 --nextPart1328682.3pcj2rdxAQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKivKBM/XwBW70U1gRArqfAJwOsqALWSmQxi17MvbW6fwU5KaDsQCeLRDO wAkq+r3TpKqbiwCA5+jI7qk= =811o -----END PGP SIGNATURE----- --nextPart1328682.3pcj2rdxAQ--