[email protected]
[Top] [All Lists]

Bug#573150: marked as forwarded (psi: accented characters in addresses)

Subject: Bug#573150: marked as forwarded psi: accented characters in addresses
From: Debian Bug Tracking System
Date: Tue, 09 Mar 2010 13:27:09 +0000
Your message dated Tue, 9 Mar 2010 18:24:39 +0500
with message-id <[email protected]>
has caused the   report #573150,
regarding psi: accented characters in addresses
to be marked as having been forwarded to the upstream software

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]

573150: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573150
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: Re: [Psi-Devel] Bug#573150: psi: accented characters in addresses
From: Rion
Date: Tue, 9 Mar 2010 18:24:39 +0500
and that would be great if another method were added openUrl(const QUrl& url) here and in the urlobject.
QUrl guarantees to store proper url.

2010/3/9 Jan Niehusmann <[email protected]>

I got the following bug report through the debian bts. Looking at the
source code, it seems like the following function in desktoputil.cpp is
not correct:

bool DesktopUtil::openUrl(const QString& url)
   ÂQByteArray ascii = url.toAscii();
   Âif (ascii == url)
       Âreturn doOpenUrl(QUrl::fromEncoded(ascii));
       Âreturn doOpenUrl(QUrl(url, QUrl::TolerantMode));

QString.toAscii is passing on latin1 characters unchanged (assuming no
QTextCodec has been set). So (ascii == url) is true even though the url
contains the character 'Ã', which is then discarded by QUrl::fromEncoded.

Just calling doOpenUrl(QUrl(url, QUrl::TolerantMode)) without checking
for pure-ascii urls first does work. But of course, this essentially
reverts 9790593a9b0c72b335a5c724cd0deca443d8fa1e, so directly entering
percent-encoded URLs doesn't work any more.

I guess it's necessary to explicitely check if the url only contains
legal 7-bit characters to decide how to interpret it.


On Tue, Mar 09, 2010 at 12:57:57PM +0100, Riccardo Stagni wrote:
> Package: psi
> Version: 0.14-2
> Severity: normal
> A friend of mine sent me a link containing an accent, http://Ãpnvkarte.de/
> Clicking on it opened "http://pnvkarte.de/" in my browser.
> I made some other check, and it appears that this issue happens only with .de domains and with any type of accented character.
> ciao
> Riccardo
> -- System Information:
> Debian Release: squeeze/sid
> Â APT prefers unstable
> Â APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.32-2-686 (SMP w/2 CPU cores)
> Locale: [email protected], [email protected] (charmap=ISO-8859-15)
> Shell: /bin/sh linked to /bin/bash
> Versions of packages psi depends on:
> ii Âlibaspell15 Â Â Â Â Â Â 0.60.6-3 Â Â Â Â GNU Aspell spell-checker runtime l
> ii Âlibc6 Â Â Â Â Â Â Â Â Â 2.10.2-6 Â Â Â Â Embedded GNU C Library: Shared lib
> ii Âlibgcc1 Â Â Â Â Â Â Â Â 1:4.4.3-3 Â Â Â ÂGCC support library
> ii Âlibqca2 Â Â Â Â Â Â Â Â 2.0.2-1 Â Â Â Â Âlibraries for the Qt Cryptographic
> ii Âlibqca2-plugin-ossl   0.1~20070904-4  QCA OSSL plugin for libqca2
> ii Âlibqt4-dbus       4:4.5.3-4    ÂQt 4 D-Bus module
> ii Âlibqt4-network     Â4:4.5.3-4    ÂQt 4 network module
> ii Âlibqt4-qt3support    4:4.5.3-4    ÂQt 3 compatibility library for Qt
> ii Âlibqt4-xml       Â4:4.5.3-4    ÂQt 4 XML module
> ii Âlibqtcore4 Â Â Â Â Â Â Â4:4.5.3-4 Â Â Â ÂQt 4 core module
> ii Âlibqtgui4 Â Â Â Â Â Â Â 4:4.5.3-4 Â Â Â ÂQt 4 GUI module
> ii Âlibstdc++6 Â Â Â Â Â Â Â4.4.3-3 Â Â Â Â ÂThe GNU Standard C++ Library v3
> ii Âlibx11-6 Â Â Â Â Â Â Â Â2:1.3.3-1 Â Â Â ÂX11 client-side library
> ii Âlibxss1 Â Â Â Â Â Â Â Â 1:1.2.0-2 Â Â Â ÂX11 Screen Saver extension library
> ii Âzlib1g         Â1: compression library - runtime
> Versions of packages psi recommends:
> ii Âsox            Â14.3.0-1.1+b1 Swiss army knife of sound processi
> Versions of packages psi suggests:
> pn Âlibqca2-plugin-gnupg <none> Â Â Â Â Â Â Â(no description available)
> pn Âpsi-translations   <none>       Â(no description available)
> ii Âxdg-utils      Â1.0.2+cvs20100307-1 desktop integration utilities from
> -- no debconf information

reliablesolutions GmbH & Co. KG, Aachen       Amtsgericht Aachen HRA 6801
Âreliablesolutions Beteiligungs-GmbH, Aachen   ÂAmtsgericht Aachen HRB 14116
ÂGeschÃftsfÃhrer: Franz Fangmeyer, Jan Niehusmann

Tel: +49-241-99038196
Fax: +49-241-99038198
Psi-Devel mailing list
[email protected]

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>