Make WordPress Core

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: djule5's profile djule5 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3
Component: General Keywords:
Focuses: Cc:


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)

#1 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.