diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-04 09:31:49 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-04 09:31:49 +0000 |
commit | 89be29505b1ed6146aef314d5524f46cc289cee3 (patch) | |
tree | 6be929fa5d9b84c48f0a5682bc6f95cb09b3bde3 /includes/database.inc | |
parent | 52f95c981bbf7588aedd1b5cb3ef74641572e39e (diff) | |
download | brdo-89be29505b1ed6146aef314d5524f46cc289cee3.tar.gz brdo-89be29505b1ed6146aef314d5524f46cc289cee3.tar.bz2 |
#198856 by hswong3i: Fix some incorrect use of %s for table name escaping, implement better security checks
Diffstat (limited to 'includes/database.inc')
-rw-r--r-- | includes/database.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database.inc b/includes/database.inc index 45a8b592c..25aadf57a 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -350,7 +350,7 @@ function db_rewrite_sql($query, $primary_table = 'n', $primary_field = 'nid', $ } /** - * Restrict a dynamic tablename to safe characters. + * Restrict a dynamic table, column or constraint name to safe characters. * * Only keeps alphanumeric and underscores. */ |