On Dec 28, 2006, at 1:59 PM, Pål Grønås Drange wrote:
I think this can be fixed by using backticks, but maybe it's best
if the user isn't allowed using dashes in the prefix at all.
It says which characters are allowed in wp-config.php
// Only numbers, letters, and underscores please!
We could sanitize it, I guess.
$table_prefix = preg_replace('|[^0-9a-z_]|i', '_', $table_prefix);
Somewhere at the top of wp-settings.php
--
Mark Jaquith
http://markjaquith.com/
Covered Web Services
http://covered.be/
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers