Making WordPress.org

Opened 4 years ago

Closed 4 years ago

#5325 closed defect (bug) (fixed)

Invalid multi-level plugin URL requests should return a 404 response

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: dd32's profile dd32
Milestone: Priority: high
Component: Plugin Directory Keywords: seo
Cc:

Description

Requests like https://wordpress.org/plugins/cats/dogs/ and https://wordpress.org/plugins/an/example/ should return a 404 template and HTTP status header.

Change History (1)

#1 @dd32
4 years ago

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

In 10407:

Plugin Directory: Restore the 'attachment' query var support, so as to ensure that ^*/*$ requests properly trigger 404 code handlers.

Fixes #5325.

Note: See TracTickets for help on using tickets.