Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5772 closed defect (bug) (fixed)

No 404 on registration subpage

Reported by: SGr33n Owned by: djpaul
Priority: normal Milestone: 2.1
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

Hi,

If you try to load a page like www.buddypress.org/registration/test/ it will not send you to a 404 page, instead it will show the registration page.

Change History (3)

#1 @DJPaul
12 years ago

  • Milestone Awaiting Review2.1

#2 @djpaul
12 years ago

  • Owner set to djpaul
  • Resolutionfixed
  • Status newclosed

In 8658:

Core: match the registration route precisely.

Previously, you could enter the registration route with non-existent
parts, such as /registration/test/, and BuddyPress would serve up the
registration template.

By checking if bp_current_action() is set (the /test/ part), we can
bail out of bp_core_screen_signup(). BuddyPress will correctly 404
these incorrect URLs.

Fixes #5772

#3 @DJPaul
12 years ago

Bah, typo'd the commit message (should be /register/test/).

Note: See TracTickets for help on using tickets.