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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Affects multi-site installs only. Simple fix declaring the global, as per ticket description.