diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-23 18:54:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-23 18:54:32 +0000 |
commit | 4d590cff65c6dcc98a7523bf1eb8610a1d8757ef (patch) | |
tree | 555958cd1dbfc693071f8ac0f56512800cf4c56e /includes/database | |
parent | 9b4274e8c786ce8643b69447ba0b4d74ce84223f (diff) | |
download | brdo-4d590cff65c6dcc98a7523bf1eb8610a1d8757ef.tar.gz brdo-4d590cff65c6dcc98a7523bf1eb8610a1d8757ef.tar.bz2 |
- Patch #715132 by moshe weitzman: over aggressive escaping of table names.
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/database.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } /** |