Package: pyblosxom Version: 1.2-1 Severity: minor Tags: patch, upstream [please note that I have filed this twice but the dpatch attachment caused my work mail relay to eat the first report. If it makes it through after all I apologise]
It seems a fairly common occurence now for somebody to make a modification to their blogging software and inadvertently spam blog-aggregators such as Planet Debian. Pyblosxom (like blosxom, filed separately) is particularly vulnerable to this as merely copying the files around (without -a or -p) will update their timestamps. Please consider this patch which reduces the number of items that might appear in the front page (and consequently most feeds) from 40 to a more conservative 5 by default. If someone does break their timestamps, this limits the amount of spamming that will be done. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.17-rc6-jmtd2 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages pyblosxom depends on: ii apache [httpd] 1.3.33-6sarge1 versatile, high-performance HTTP s ii python 2.3.5-2 An interactive high-level object-o ii python2.3 2.3.5-3sarge1 An interactive high-level object-o -- no debconf information -- Jon Dowland http://alcopop.org/
#! /bin/sh /usr/share/dpatch/dpatch-run @DPATCH@ diff -ruN pyblosxom-1.3.2~/web/config.py pyblosxom-1.3.2/web/config.py --- pyblosxom-1.3.2~/web/config.py 2006-01-30 14:48:39.000000000 +0000 +++ pyblosxom-1.3.2/web/config.py 2006-06-14 11:39:27.000000000 +0100 @@ -65,7 +65,7 @@ # How many entries should I show on the home page and category pages? # This doesn't affect date-based archive pages. If you put 0 here, # then I will show all pages. -py['num_entries'] = 40 +py['num_entries'] = 5 # What should the default flavour you want used be? py['default_flavour'] = "html"
signature.asc
Description: Digital signature

