aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-31 03:14:05 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-31 03:14:05 +0000
commitc0bb650c58c15bbac261517c32f96c89d60dafb2 (patch)
treefae74557e9c16dc5914f51622ab5c674cc8e09e1
parent32c9152b8fda90f796e96971dd34ba1fdf83b1a3 (diff)
downloadforums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.gz
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.bz2
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.tar.xz
forums-c0bb650c58c15bbac261517c32f96c89d60dafb2.zip
#11967
git-svn-id: file:///svn/phpbb/trunk@7700 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/docs/CHANGELOG.html2
-rw-r--r--phpBB/includes/functions_install.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 3646b82a0b..7b9705bd8c 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -231,7 +231,7 @@ p a {
<li>Limit maximum number of allowed characters in messages to 60.000 by default. Admins should increase their PHP time limits if they want to raise this tremedously.</li>
<li>Some changes to the conversion documentation</li>
<li>[Fix] Only use permissions from existing forums during the conversion (Bug #11417)</li>
-
+ <li>[Fix] Do not permit the decimal as a valid prefix character (Bug #11967)</li>
</ul>
</div>
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index 43d536e7e9..fa85b89d48 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -280,7 +280,7 @@ function connect_check_db($error_connect, &$error, $dbms, $table_prefix, $dbhost
{
case 'mysql':
case 'mysqli':
- if (strpos($table_prefix, '-') !== false)
+ if (strpos($table_prefix, '-') !== false || strpos($table_prefix, '.') !== false)
{
$error[] = $lang['INST_ERR_PREFIX_INVALID'];
return false;