From nobody  Sat Nov 28 04:34:10 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id EAA09758;
          Sat, 28 Nov 1998 04:34:10 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199811281234.EAA09758@hub.freebsd.org>
Date: Sat, 28 Nov 1998 04:34:10 -0800 (PST)
From: kkennawa@physics.adelaide.edu.au
To: freebsd-gnats-submit@freebsd.org
Subject: web query-pr interface doesnt escape multi-word arguments
X-Send-Pr-Version: www-1.0

>Number:         8877
>Category:       misc
>Synopsis:       web query-pr interface doesnt escape multi-word arguments
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 28 04:40:00 PST 1998
>Closed-Date:    Tue Dec 15 15:12:36 PST 1998
>Last-Modified:  Tue Dec 15 15:13:12 PST 1998
>Originator:     Kris Kennaway
>Release:        
>Organization:
>Environment:
>Description:
When using the web interface to query-pr, multi-word search arguments need to
be wrapped in ""s, like you would for query-pr. This is not docuemnted on the
webpage itself or anywhere else I can see and confused me for a while
before I figured out what was going on. Preferably, the cgi script
should add the ""s itself before passing to query-pr. I'm not sure what other 
implications it has for leaving off the ""s, except that it doesnt return any
matches :-)

There also seems to be lacking any way to query a PR by name, i.e., ports/xxxx
(unless I'm just blind).

>How-To-Repeat:
Surf to http://www.freebsd.org/cgi/query-pr-summary.cgi?query
and do a search for, e.g., Originator=Pedro Giffuni (no quotes). This will
fail, whereas "Pedro Giffuni" will succeed.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fenner 
State-Changed-When: Tue Dec 15 15:12:36 PST 1998 
State-Changed-Why:  
Fixed in rev 1.18 of query-pr-summary.cgi 
>Unformatted:
