Package: reportbug
Version: 6.6.5
Severity: minor

Dear Maintainer,

If file entered in $EDITOR has a "\n.\n" sequence, that sequence becomes
"\n..\n" in the final bug report.  See for example #808721 and #799299 (in
the latter, an ed script was corrupted by issue).

By code inspection, that is because reportbug dotstuffs the message body before
passing it to smtplib.SMTP.sendmail(), while that function expects an
undotstuffed argument (it applies dotstuffing by itself, unconditionally).



-- Package-specific info:
** Environment settings:
DEBEMAIL="Daniel Shahaf <>"
DEBFULLNAME="Daniel Shahaf"

** /home/daniel/.reportbugrc:
reportbug_version "6.6.3"
mode standard
ui text
realname "Daniel Shahaf"
email ""
header "X-Debbugs-CC:"
mbox_reader_cmd "mutt -f %s"

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt               1.1.5
ii  python            2.7.11-1
ii  python-reportbug  6.6.5
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                                 <none>
pn  debconf-utils                              <none>
pn  debsums                                    <none>
pn  dlocate                                    <none>
pn  emacs23-bin-common | emacs24-bin-common    <none>
ii  exim4                                      4.86-7
ii  exim4-daemon-light [mail-transport-agent]  4.86-7+b1
ii  file                                       1:5.25-2
ii  gnupg                                      1.4.19-6
pn  python-gtk2                                <none>
pn  python-gtkspell                            <none>
pn  python-urwid                               <none>
pn  python-vte                                 <none>
pn  xdg-utils                                  <none>

Versions of packages python-reportbug depends on:
ii  apt               1.1.5
ii  python-debian     0.1.27
ii  python-debianbts  2.6.0
pn  python:any        <none>

python-reportbug suggests no packages.

-- debconf-show failed

Reportbug-maint mailing list

Reply via email to