Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10567 closed defect (bug) (fixed)

Automatic update FTP Username Bug

Reported by: johnsee Owned by: dd32
Milestone: 2.9 Priority: low
Severity: normal Version: 2.9
Component: Filesystem API Keywords: has-patch needs-testing
Focuses: Cc:


Usernames don't work correctly for the automatic update page:

when they include a backslash \ in the username. eg: 'something\somthing'. Still current as at 2.8.2

Attachments (1)

10567.diff (3.2 KB) - added by dd32 6 years ago.

Download all attachments as: .zip

Change History (3)

6 years ago

#1 @dd32
6 years ago

  • Component changed from Upgrade/Install to Filesystem
  • Keywords has-patch needs-testing added; automatic update backslash slash usernames removed
  • Milestone changed from Unassigned to 2.9
  • Version set to 2.9

attachment 10567.diff added

  • Strip slashes from all POST data
  • Needs testing

#2 @azaozz
6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [11808]) Strip slashes from POST data in request_filesystem_credentials(), props dd32, fixes #10567

Note: See TracTickets for help on using tickets.