Skip to:

#8938 closed defect (bug) (fixed)

The rewrite rules for directories are not strict enough

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: high
Severity: normal Version:
Component: Core Keywords: has-patch


A support topic on the BP Rewrites plugin revealed the issue is also available here.


A . '/?$' is missing at line 1127 of

Change History (2)

This ticket was mentioned in PR #132 on buddypress/buddypress by @imath.

12 months ago

  • Keywords has-patch added; needs-patch removed

Adds a missing . '/?$' at the end of line 1127 of src/bp-core/classes/class-bp-component.php

Trac ticket:

#2 @imath
12 months ago

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

In 13518:

Make sure directory rewrite rules match exact directory slugs

Before this change slugs beginning like directory slugs were wrongly consider as matches. Example: membership which begins like members was parsed as the Members directory.

See #4954
Fixes #8938

Note: See TracTickets for help on using tickets.