Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19547 closed defect (bug) (duplicate)

Bug when setting up WordPress with a single quote in the database user password

Reported by: djule5 Owned by:
Priority: normal Milestone:
Component: General Version: 3.3
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @SergeyBiryukov
15 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed
Note: See TracTickets for help on using tickets.