Package: mambo
Version: 4.5.1.3-2
Severity: minor

When debconf prompts to enter the name for a Mambo site, there is no warning
that you should not enter a name containing apostrophes.  However, if you do
so configuration.php will contain
$mosConfig_sitename = 'Martin's Mambo Test'
with the apostrophe interpreted as a closing quote.

Accessing http://localhost/mambo afterwards results in the error:
Parse error: parse error, unexpected T_STRING in
/usr/share/mambo/configuration.php on line 11

Either the mambositename template should warn you not to include
apostrophes/single quotes, or the postinst should escape them before writing
configuration.php.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to