[wp-trac] [WordPress Trac] #19547: Bug when setting up WordPress with a single quote in the database user password
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 14 18:25:19 UTC 2011
#19547: Bug when setting up WordPress with a single quote in the database user
password
--------------------------+-----------------------------
Reporter: djule5 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3
Severity: normal | Keywords:
--------------------------+-----------------------------
When setting up WordPress, if a single quote exists in the user password,
a PHP parse error will follow because the wp-config will be written in a
corrupted state. Example below:
**define('DB_PASSWORD', '@Qp!G$AfPgoCo'm7pjK9');
Same kind of issue can happen if using backslashes.
The setup should either escape single quotes and backslashes or disallow
the use of these characters.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19547>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list