[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#720346: www.debian.org: Rewrite rule not working for packages starting with [0-9]*-



Package: www.debian.org
Severity: normal


Hi!

http://qa.debian.org/man-pages.html lists some packages with missing man
pages.

I noticed that all packages there are linked to
bugs.debian.org/<pkgname> which doesn't seem to work for packages
starting with a number followed by a dash, like 386-console. This leads
to a 404: http://bugs.debian.org/389-console

I checked with the following command line:

  for i in `wget
"http://packages.debian.org/unstable/allpackages?format=txt.gz"; -O -
|gunzip |grep -o -E "^[0-9]+-[^ ]+" `; do wget -O $i.html
http://bugs.debian.org/$i ; done

Seems like the rewrite rule on bugs.debian.org tries to handle packages
starting with [0-9]+- as bug numbers, which obviously won't work.

I'm not completely sure if it's worth fixing this, because there are
currently only 13 packages fulfilling this criteria (in unstable) , but
if there are more to come, problems may become more obvious.


Regards, Simon

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

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


Reply to: