Opened 15 years ago
Closed 15 years ago
#3786 closed defect (bug) (fixed)
Canonical redirect clears bp_core_add_message() cookie
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If you bp_core_add_message() and then get redirected to a canonical URL via bp_canonical_redirect(), the message is lost, because by that point in the loading process, the cookie has been deleted. Before the redirect, the cookie should be reset if necessary.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5425]) Moves bp_redirect_canonical to bp-core-catchuri.php with other URI-related functions. Readds error/success messages before redirect so that they're not lost in a cookie black hole. Fixes #3786