Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2257 closed defect (bug) (fixed)

Sign up activation error ignores root domain in redirection URL

Reported by: johngirvin's profile johngirvin Owned by:
Milestone: 1.2.4 Priority: major
Severity: Version:
Component: Core Keywords: has-patch
Cc:

Description

In a multisite install, if there is an error processing a user activation from a link containing a key, eg:
http://localhost.localdomain/content/activate?key=fd5f825062214b5c

...the user is redirected to BP_ACTIVATE_SLUG but without the root domain prefix, ie: /activate. This results in a 404 error.

Cause:
bp_core_activate_signup does not declare $bp as global, so $bp->root_domain is empty when it is used to build the redirection URL.

Change History (2)

#1 @DJPaul
14 years ago

  • Keywords has-patch added
  • Milestone changed from 1.3 to 1.2.4
  • Priority changed from normal to major

Affects multi-site installs only. Simple fix declaring the global, as per ticket description.

#2 @johnjamesjacoby
14 years ago

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

(In [2934]) Fixes #2257

Note: See TracTickets for help on using tickets.