From 4d590cff65c6dcc98a7523bf1eb8610a1d8757ef Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 23 Mar 2010 18:54:32 +0000 Subject: - Patch #715132 by moshe weitzman: over aggressive escaping of table names. --- includes/database/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index 90c007238..a4c996a0e 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -831,7 +831,7 @@ abstract class DatabaseConnection extends PDO { * The sanitized table name string. */ public function escapeTable($table) { - return preg_replace('/[^A-Za-z0-9_]+/', '', $table); + return preg_replace('/[^A-Za-z0-9_.]+/', '', $table); } /** -- cgit v1.2.3