Skip to:
Content

BuddyPress.org

Opened 3 months ago

Closed 3 months ago

Last modified 3 months ago

#9077 closed defect (bug) (fixed)

Registration & Activation rewrite rules are not strict enough

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.2.0 Priority: normal
Severity: normal Version:
Component: Route Parser Keywords: has-patch
Cc:

Description (last modified by imath)

@roberthemsing reported this issue into our support forum. I confirm this is an issue:

You reach the register or activation page as soon as the requested URL looks like site.url/register% or site.url/activate%.

For example going to site.url/register-to-buddycamp-2024/ will be redirected to site.url/register/.

Change History (5)

#1 @imath
3 months ago

  • Description modified (diff)

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


3 months ago
#2

  • Keywords has-patch added; needs-patch removed

Adds a trailing '/?$' to Activate and Register rewrite rules so that we only match URL strictly containing the corresponding slugs.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/9077

#3 @imath
3 months ago

In 13707:

Use stricter rewrite rules for Activate & Register pages

Props roberthemsing

See #9077 (trunk)
Closes https://github.com/buddypress/buddypress/pull/222

#4 @imath
3 months ago

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

In 13708:

Use stricter rewrite rules for Activate & Register pages

Props roberthemsing

Fixes #9077 (branch 12.0)

This ticket was mentioned in Slack in #buddypress by imath. View the logs.


3 months ago

Note: See TracTickets for help on using tickets.