Skip to:
Content

bbPress.org

Opened 8 years ago

Closed 8 years ago

#3199 closed defect (bug) (fixed)

bbp_logout_url filter incorrectly encodes $redirect_to

Reported by: nevis2us Owned by: johnjamesjacoby
Priority: normal Milestone: 2.6
Component: General Version: 2.5.14
Severity: normal 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 8 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nevis2us
8 years ago

  • Cc nevis2us added

#2 @johnjamesjacoby
8 years ago

  • Milestone Awaiting Review2.6
  • Owner set to johnjamesjacoby

#3 @johnjamesjacoby
8 years ago

  • Resolutionfixed
  • Status newclosed

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.