Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5772 closed defect (bug) (fixed)

No 404 on registration subpage

Reported by: sgr33n's profile SGr33n Owned by: djpaul's profile djpaul
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Core Keywords:



If you try to load a page like it will not send you to a 404 page, instead it will show the registration page.

Change History (3)

#1 @DJPaul
10 years ago

  • Milestone changed from Awaiting Review to 2.1

#2 @djpaul
10 years ago

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

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
10 years ago

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

Note: See TracTickets for help on using tickets.