Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

#2257 closed defect (bug) (fixed)

Sign up activation error ignores root domain in redirection URL

Reported by: johngirvin Owned by:
Priority: major Milestone: 1.2.4
Component: Core Version:
Severity: 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
16 years ago

  • Keywords has-patch added
  • Milestone 1.31.2.4
  • Priority normalmajor

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

#2 @johnjamesjacoby
16 years ago

  • Resolutionfixed
  • Status newclosed

(In [2934]) Fixes #2257

Note: See TracTickets for help on using tickets.