Commit 339686 by webchick
#587706 follow-up by plach: trim GET['q'] centrally in request_path() so subsequent places don't have to do it.
#587706 follow-up by plach: trim GET['q'] centrally in request_path() so subsequent places don't have to do it.
Sleep better after a security review.