summaryrefslogtreecommitdiff
path: root/includes/database.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2008-01-04 09:31:49 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2008-01-04 09:31:49 +0000
commit89be29505b1ed6146aef314d5524f46cc289cee3 (patch)
tree6be929fa5d9b84c48f0a5682bc6f95cb09b3bde3 /includes/database.inc
parent52f95c981bbf7588aedd1b5cb3ef74641572e39e (diff)
downloadbrdo-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.inc2
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.
*/