Package: wordpress Version: 2.9.1-1 Severity: important
The regexp in /etc/wordpress/wp-config.php does not allow site names with dash characters, even though this is a completely legal syntax (see RFC1034, chapter 3.5). Currently wordpress sites with a dash character in their name result in returning 404 to the client. Seems to me the fault is on line 9: $debian_server = preg_replace("/[^a-zA-Z0-9.]/", "", $debian_server); This should perhaps be changed to: $debian_server = preg_replace("/[^a-zA-Z0-9.\-]/", "", $debian_server); -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18.8-xenU.2-32 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wordpress depends on: ii apache2 2.2.9-10+lenny6 Apache HTTP Server metapackage ii apache2-mpm-prefor 2.2.9-10+lenny6 Apache HTTP Server - traditional n ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded scripti ii libjs-cropper 1.2.0-1 JavaScript image cropper UI ii libjs-jquery 1.3.3-2 JavaScript library for dynamic web ii libjs-prototype 1.6.0.2-4 JavaScript Framework for dynamic w ii libjs-scriptaculou 1.8.1-5 JavaScript library for dynamic web ii libphp-phpmailer 1.73-6 full featured email transfer class ii libphp-snoopy 1.2.4-1 Snoopy is a PHP class that simulat ii mysql-client-5.0 [ 5.0.51a-24+lenny2 MySQL database client binaries ii php-gettext 1.0.7-6 read gettext MO files directly, wi ii php5 5.2.6.dfsg.1-1+lenny4 server-side, HTML-embedded scripti ii php5-gd 5.2.6.dfsg.1-1+lenny4 GD module for php5 ii php5-mysql 5.2.6.dfsg.1-1+lenny4 MySQL module for php5 ii tinymce 3.2.7-1 platform independent web based Jav Versions of packages wordpress recommends: ii wordpress-l10n 2.9.1-1 weblog manager - language files Versions of packages wordpress suggests: ii mysql-server-5.0 [mysq 5.0.51a-24+lenny2 MySQL database server binaries -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org