Bug 22191

Summary: query-pr-summary.cgi bug
Product: Base System Reporter: patseal <patseal>
Component: miscAssignee: Alexey Zelkin <phantom>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-STABLE   
Hardware: Any   
OS: Any   

Description patseal 2000-10-21 19:00:07 UTC
I was searching for all the PR that I've submitted here:
http://www.FreeBSD.org/cgi/query-pr-summary.cgi?category=&severity=&priority=&class=&state=&sort=none&text=&responsible=&multitext=&originator=Patrick+Seal&closedtoo=

notice the originator=Patrick+Seal

A few of the links on the page that modify the query (like "Include closed reports too") will mess that part up:

http://www.FreeBSD.org/cgi/query-pr-summary.cgi?&originator=Patrick Seal&sort=none&closedtoo=on

originator=Patrick Seal

Without the '+' everything past the space is ignored and all PR's submitted by
Patricks are displayed (and since the closedtoo=on is past the space, only the
open ones are displayed)

I know this isn't serious, but It's a bug that could confuse some of the
developers that use this interface (at least for a minute) so I marked this PR
as serious. Was my judgement correct in assigning this priority?

Fix: 

s/ /\+/g
How-To-Repeat: 
After a PR query, click on any of the links "Last-Modified", "Catergory",
"Responsible Party", or "include closed reports too" using an originator with
a space.
Comment 1 Alexey Zelkin freebsd_committer freebsd_triage 2000-10-22 14:38:39 UTC
Responsible Changed
From-To: freebsd-bugs->phantom

I'll take a look
Comment 2 Alexey Zelkin freebsd_committer freebsd_triage 2000-10-22 15:25:21 UTC
State Changed
From-To: open->closed

Fixed in more generic way than suggested. Thanks for report! 

GNAT: Enter the reason for changing this PR's status here.