WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

Usernames don't work correctly for the automatic update page:
/wp-admin/update-core.php

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 5 years ago.

Download all attachments as: .zip

Change History (3)

dd325 years ago

comment:1 dd325 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

comment:2 azaozz5 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.