Opened 13 years ago
Closed 13 years ago
#19547 closed defect (bug) (duplicate)
Bug when setting up WordPress with a single quote in the database user password
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (1)
Note: See
TracTickets for help on using
tickets.
#13839