Date: Wed, 7 Apr 1999 01:04:38 -0700 (PDT) From: mharo@area51.fremont.ca.us To: FreeBSD-gnats-submit@freebsd.org Subject: docs/10997: Problem with query-pr-summary.cgi Message-ID: <199904070804.BAA44782@patrol.area51.fremont.ca.us>
index | next in thread | raw e-mail
>Number: 10997
>Category: docs
>Synopsis: Problem with query-pr-summary.cgi
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 7 01:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Michael Haro
>Release: FreeBSD 3.1-STABLE i386
>Organization:
>Environment:
>Description:
Not really sure where to file this www problem report. It isn't really
a docs problem, it is a cgi problem, but I guess docs will do.
Doing a query where the originator contains a space gets converted into
a space from a + but not back into a + in the <A HREF stuff for the
"Include closed reports too" link on the page.
This might be messed up other places too.
>How-To-Repeat:
>Fix:
something like this might work but there is probably a better way....
$self_ref3 =~ s/ /+/g;
I'm unable to test this code patch but I think it would work. Again,
there is probably a better way.
Index: query-pr-summary.cgi
===================================================================
RCS file: /cvs/www/en/cgi/query-pr-summary.cgi,v
retrieving revision 1.22
diff -u -r1.22 query-pr-summary.cgi
--- query-pr-summary.cgi 1999/02/26 22:05:58 1.22
+++ query-pr-summary.cgi 1999/04/07 07:58:23
@@ -176,6 +177,7 @@
$self_ref3 .= '&' if ($self_ref2 !~/\?$/);
$self_ref3 .= $_ . '=' . $input{$_};
}
+ $self_ref3 =~ s/ /+/g;
}
if ($input{"closedtoo"}) {
print '<A HREF="', $self_ref3, '">Don',"'",'t show closed reports</A>.';
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904070804.BAA44782>
