Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#3777 closed defect (bug) (fixed)

Querystring is stripped when redirection of nav item occurs

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 1.6 Priority: major
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc:

Description

If a querystring is added to the top-level nav item URL, it is stripped when it reaches its subnav endpoint.

eg. example.com/members/boone/friends?new -> example.com/members/boone/friends/my-friends/

Related: #3771

This is applicable to trunk only.

Change History (2)

#1 @boonebgorges
11 years ago

  • Milestone changed from Awaiting Review to 1.6
  • Priority changed from normal to major

#2 @boonebgorges
11 years ago

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

(In [5412]) Refactors URL canonicalization logic, moving it into the single bp_redirect_canonical() which is loaded from bp_core_load_template() instead of redirecting during the nav setup routine. See #1741. Combines all canonicalization into a single redirect. Fixes #3771. Ensures that query strings are preserved on redirects. Fixes #3777.

Note: See TracTickets for help on using tickets.