Bug#545895: debbugs: should drop '\r' characters from bug report subjects
clone 545895 -1
retitle -1 process does not properly fold multi-line subjects or remove \r
retitle 545895 strip \r in read_bug temporarily, and fix existing bug reports
thanks
On Wed, 09 Sep 2009, Ryan Niebur wrote:
> On Wed, Sep 09, 2009 at 10:28:45PM +0200, Francesco Poli (t1000) wrote:
> > I think I found a bug in the BTS, hence I am reporting it against
> > the experimental version of debbugs (which I believe is the closest
> > version to what is used in the BTS, right?).
That's fine; it's actually a problem in all of the debbugs versions,
though.
> so that the problem can be more easily reproduced/seen, attached is a
> minimal Perl script that shows this problem.
>
> $ ./545895.pl
> $VAR1 = "gstreamer0.10-plugins-good: 0.10.8-4.1 unistallable due to .mo \r";
Right, this is actually an issue in scripts/process; the real fix for
it is going to be stuck behind me refactoring process entirely, but
I'll whip up a quick fix for it temporarily.
\r or \n should never be in the Subject: field of summary, so the BTS
should never have to bother with them; it also should be folding
multi-line subjects too, which it isn't doing properly.
There are about 40 or so unarchived bugs with this issue; I'll try to
go through and fix them all sometime in the near future.
Don Armstrong
--
Whatever you do will be insignificant, but it is very important that
you do it.
-- Mohandas Karamchand Gandhi
http://www.donarmstrong.com http://rzlab.ucr.edu
Reply to: