Skip to:
Content

Opened 10 months ago

Closed 8 months ago

#3199 closed defect (fixed)

bbp_logout_url filter incorrectly encodes $redirect_to

Reported by: nevis2us Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5.14
Component: General Keywords: has-patch
Cc: nevis2us

Description

bbp_logout_url filter incorrectly encodes $redirect_to which contains '&'.

E.g.

http://xxx.com/?p1&p2 ->
http://xxx.com/?p1&p2 ->
http://xxx.com/?p1&loggedout=true#038;p2

Patch attached.

Attachments (1)

bbp_logout_url.patch (802 bytes) - added by nevis2us 10 months ago.

Download all attachments as: .zip

Change History (4)

#1 @nevis2us
10 months ago

  • Cc nevis2us added

#2 @johnjamesjacoby
8 months ago

  • Milestone changed from Awaiting Review to 2.6
  • Owner set to johnjamesjacoby

#3 @johnjamesjacoby
8 months ago

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

In 6835:

Login: Do not prematurely escape $redirect_to in bbp_logout_url().

This change fixes a bug causing the redirect URL to be escaped before it's encoded.

Props nevis2us. Fixes #3199.

Note: See TracTickets for help on using tickets.