Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-3587 now.

username not html decoded in search (fix completed in vcs)

I experienced this on phpBB.com only, as this is the only board, that's using phpBB3, and i'm using the '<' character in my username. When doing an egosearch, the pagination links to the username, like this:
Code: Select all
http://www.phpbb.com/community/search.php?st=0&sk=t&sd=d&sr=topics&author=eviL%26lt%3B3&start=25


The problem is, that my username contains html, wich - with htmlspecialchars applied to the username - results in &lt; being converted to %26lt%.

Possible solution:
In search.php, find:
Code: Select all
   $u_search .= ($author) ? '&amp;author=' . urlencode($author) : '';


Replace:
Code: Select all
   $u_search .= ($author) ? '&amp;author=' . urlencode(htmlspecialchars_decode($author)) : '';

Comments / History

Assigned ticket to user "naderman"

Action performed by DavidMJ (Former Team Member) on Apr 1st 2007, 12:41

Edited ticket

Action performed by DavidMJ (Former Team Member) on Apr 1st 2007, 12:41

Changed ticket status from "New" to "Reviewed"

Action performed by naderman (Development Team Leader) on Apr 1st 2007, 17:43

Changed ticket status from "Reviewed" to "Fix in progress"

Action performed by naderman (Development Team Leader) on Apr 1st 2007, 21:59

Linked ticket with changeset: r7261

Action performed by naderman (Development Team Leader) on Apr 1st 2007, 22:15

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by naderman (Development Team Leader) on Apr 1st 2007, 22:55

Ticket details

Related SVN changesets