Your message dated Wed, 15 Sep 2010 17:37:32 +0200
with message-id <4c90e83c.1080...@dsv.su.se>
and subject line re-close
has caused the Debian Bug report #577491,
regarding /usr/bin/xdg-email: xdg-email ignores URL-encoded (most) options with
mawk
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(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 ow...@bugs.debian.org
immediately.)
--
577491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577491
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xdg-utils
Version: 1.0.2+cvs20100307-1
Severity: important
File: /usr/bin/xdg-email
Calling xdg-email with options to prefill the email doesn't work. The MUA opens
as if the user had just clicked Compose. The output explains. For example, with
--subject :
$ xdg-email --subject Hi
awk: line 15: regular expression compile failed (bad class -- [], [^] or [)
[...@a-za-z0-9.-\\
awk: line 15: syntax error at or near ]
awk: line 17: syntax error at or near else
awk: line 20: syntax error at or near }
chea...@vinci:~$
This expression is in the awk call in url_encode(). The regular expression was
changed in revision 1.43 upstream:
http://webcvs.freedesktop.org/portland/portland/xdg-utils/scripts/xdg-email?r1=1.42&r2=1.43
For some reason, this only happens with mawk (which is currently the default
AWK implementation). gawk doesn't have the issue. I verified this is a
regression from 1.0.2+cvs20100223-1.
For example, this bug largely breaks reportbug-ng; it opens a blank mail with
nothing in To, Subject and body.
I don't understand how url_encode() works, but I see the commit added "\\/" in
the regexp. Assuming this is trying to add "\/" to the character class, this
should be written "\\\/". It's not clear why gawk handles the current regexp.
Perhaps it understands the unescaped slash as a slash because it's enough
intelligent to tell the character class isn't terminated.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-4-686 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
xdg-utils depends on no packages.
Versions of packages xdg-utils recommends:
ii file 5.04-1 Determines file type using "magic"
ii iceweasel [www-browser] 3.6.3-1 Web browser based on Firefox
ii konqueror [www-browser] 4:4.3.4-1 KDE 4's advanced file manager, web
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii shared-mime-info 0.71-1 FreeDesktop.org shared MIME databa
ii x11-utils 7.5+3 X11 utilities
ii x11-xserver-utils 7.5+1+b1 X server utilities
Versions of packages xdg-utils suggests:
pn gvfs-bin <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
I forcemerged the wrong way by accident, re-closing.
--
Pelle
--- End Message ---