[Reportbug-maint] Bug#577278: reportbug: Attach options (-A) is not safe for UTF-8 content

Jari Aalto jari.aalto at cante.net
Sun Apr 11 06:48:27 UTC 2010

Package: reportbug
Version: 4.11
Severity: normal

Using the -A optiontion to attach and UTF-8 patch seems to have problems. Please see bug:


for an example where an UTF-8 patch file was reported forward. It
dind't arrive untact to BTS (according to the user report).

Perhaps the patch could be examined for non-ASCII characters protected

	Content-type: application/octect-stream

before composing for SMTP.

-- Package-specific info:
** Environment settings:
EDITOR="env LC_ALL=C emacs -q -nw -no-site-file "
VISUAL="env LC_ALL=C emacs -q -nw -no-site-file "
EMAIL="jari.aalto at cante.net"
NAME="Jari Aalto"

** /home/jaalto/.reportbugrc:
editor "emacs -nw -q -Q"
mode		standard
email		jari.aalto at cante.net
realname 	"Jari Aalto"

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                    Advanced front-end for dpkg
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-reportbug              4.11       Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils        1.5.30              debconf utilities
ii  debsums              2.0.48              tool for verification of installed
ii  dlocate              1.02                fast alternative to dpkg -L and dp
ii  emacs22-bin-common   22.3+1-1.2          The GNU Emacs editor's shared, arc
ii  emacs23-bin-common   23.1+1-5            The GNU Emacs editor's shared, arc
ii  exim4-daemon-heavy [ 4.71-3              Exim MTA (v4) daemon with extended
ii  file                 5.04-1              Determines file type using "magic"
ii  gnupg                1.4.10-2            GNU privacy guard - a free PGP rep
ii  python-gtk2          2.16.0-2            Python bindings for the GTK+ widge
pn  python-gtkspell      <none>              (no description available)
ii  python-urwid           curses-based UI/widget library for
pn  python-vte           <none>              (no description available)
ii  xdg-utils            1.0.2+cvs20100307-1 desktop integration utilities from

-- no debconf information

More information about the Reportbug-maint mailing list