#61136 closed defect (bug) (fixed)
wp-login.php?action=postpass PHP Warning with invalid input
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Login and Registration | Keywords: | commit has-patch |
Focuses: | Cc: |
Description
The following warning can be generated on wp-login.php:
E_WARNING: strlen() expects parameter 1 to be string, array given in wp-includes/class-phpass.php:206
This can be duplicated with a request such as:
curl http://example.org/wp-login.php?action=postpass --data 'post_password[foo]=bar'
Similar to #59373
Change History (3)
This ticket was mentioned in PR #6490 on WordPress/wordpress-develop by @dd32.
13 months ago
#1
- Keywords has-patch added
#2
@
13 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 58093:
@SergeyBiryukov commented on PR #6490:
13 months ago
#3
Thanks for the PR! Merged in r58093.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/61136#ticket