Package: cgiirc Version: 0.5.9-2 Severity: wishlist
On a server which hosts multiple websites, it is frustrating to have to manually make copies of CGI:IRC with different hardcoded configuration files for each site you want to provide with a chatroom. This is also a security risk - a vulnerability could be patched on your package-managed script, but not in the copies you have made. This patch to parse.pl allows you to specify multiple configurations using INI-style square bracketed headers which are pattern-matched against the URI of the CGI:IRC script. I have tried submitting it upstream but with no response from the maintainer. Dave -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-xen-amd64 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages cgiirc depends on: ii apache2-mpm-prefork [h 2.2.3-4+etch4 Traditional model for Apache HTTPD ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction cgiirc recommends no packages. -- debconf-show failed
7a8 > my $reading = 1; 12a14,17 > if ( /^\[([^\]]+)\]$/ ) { > $reading = "$ENV{'HTTP_HOST'}$ENV{'SCRIPT_NAME'}" =~ m/($1)/; > } > next if !$reading;