WordPress.org

Making WordPress.org

Opened 9 months ago

Closed 8 months ago

#2620 closed defect (fixed)

Plugin Directory: Plugins with 'reserved' names are broken

Reported by: Ipstenu Owned by:
Milestone: Plugin Directory v3.0 Priority: high
Component: Plugin Directory Keywords:
Cc:

Description

If a plugin has wp-admin or wp-content as the first terms, they're broken right now :(

Examples:

Change History (8)

#1 @wp-buy
9 months ago

what to do to fix this?

#2 @Ipstenu
9 months ago

  • Milestone changed from Plugin Directory v3 - Future to Plugin Directory v3.0

Wait until we fix it. It'll be as soon as we can.

#5 @dd32
9 months ago

This affects every plugin whose slug starts with /wp-admin, /wp-content, or /wp-includes. There's no need to post all of the examples of affected plugins.

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.


9 months ago

#7 @SergeyBiryukov
8 months ago

  • Keywords needs-patch removed

All of the plugins mentioned above appear to be working now.

On my local install, however, they still triggered a 500 error due to one of the default Multisite rules in .htaccess:

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]

Adding a slash after wp-(content|admin|includes) fixed that:

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes)/.*) $2 [L]

#8 @dd32
8 months ago

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

This was indeed fixed awhile ago.

The meta environment appears to have incorrect rewrite rules, so I'd suggest opening a meta ticket to get those fixed.

Note: See TracTickets for help on using tickets.