Skip to:
Content

bbPress.org

Opened 7 years ago

Closed 6 years ago

#3199 closed defect (bug) (fixed)

bbp_logout_url filter incorrectly encodes $redirect_to

Reported by: nevis2us's profile nevis2us Owned by: johnjamesjacoby's profile 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 7 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nevis2us
7 years ago

  • Cc nevis2us added

#2 @johnjamesjacoby
6 years ago

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

#3 @johnjamesjacoby
6 years 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.