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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#13839