[wp-trac] [WordPress Trac] #3537: Validate $wpdb->prefix complies
with [a-zA-Z0-9_] restriction
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 7 09:20:55 GMT 2007
#3537: Validate $wpdb->prefix complies with [a-zA-Z0-9_] restriction
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.1
Component: Administration | Version: 2.0.6
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
{{{$wpdb->prefix}}} ({{{$table_prefix}}} in {{{wp-config.php}}}) has a
{{{[a-zA-Z0-9_]}}} restriction, but it is not enforced. Characters out of
this range will make WP spew errors. We should gracefully die and explain
why.
We also should proabbly only enforce that if no alternate {{{db.php}}}
file is in use.
Matt/Ryan, can we get 2.0.7 added as a version and 2.0.8 added as a
milestone in Trac?
--
Ticket URL: <http://trac.wordpress.org/ticket/3537>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list