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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org