Your message dated Mon, 12 Feb 2001 14:50:41 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#83640: web pages: CGIs broken wrt '+' has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 26 Jan 2001 14:29:53 +0000 >From [EMAIL PROTECTED] Fri Jan 26 08:29:52 2001 Return-path: <[EMAIL PROTECTED]> Received: from access-1.101.rev.fr.colt.net (persephone.logatique.fr) [::ffff:213.41.101.1] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14M9su-00023l-00; Fri, 26 Jan 2001 08:29:52 -0600 Received: from MERLIN.logatique.fr (odin.logatique.fr [172.16.1.1]) by persephone.logatique.fr (8.9.3/8.9.3) with ESMTP id PAA14131 for <[EMAIL PROTECTED]>; Fri, 26 Jan 2001 15:29:56 +0100 Received: (from [EMAIL PROTECTED]) by MERLIN.logatique.fr (8.8.8+Sun/8.8.8) id PAA14834 for [EMAIL PROTECTED]; Fri, 26 Jan 2001 15:26:29 GMT Date: Fri, 26 Jan 2001 15:26:29 +0000 From: Yann Dirson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: web pages: CGIs broken wrt '+' Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i X-BadReturnPath: [EMAIL PROTECTED] rewritten as [EMAIL PROTECTED] using "From" header Delivered-To: [EMAIL PROTECTED] Package: www.debian.org Severity: important * http://packages.debian.org/g++ translates to http://cgi.debian.org/cgi-bin/search_packages.pl?keywords=g++&searchon=names&version=all&release=all Should read "keywords=g%2B%2B" instead of "keywords=g++" * http://bugs.debian.org/g++ translates to http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=g++ Again this should be pkg=g%2B%2B * Page http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=g%2B%2B (URL edited by hand as written above), has a link to http://packages.debian.org/g%2B%2B ... which translates into keywords=g++ I suppose to expansion should take place here in the contents of the request, as this throws away all quoting * Page http://packages.debian.org/testing/libs/libg++2.8.1.3.html has no links to source code Its link to bugs page is "http://bugs.debian.org/g++", which triggers above-mentionned problem Hope I did not forget one ;) -- Yann --------------------------------------- Received: (at 83640-done) by bugs.debian.org; 12 Feb 2001 19:49:58 +0000 >From [EMAIL PROTECTED] Mon Feb 12 13:49:58 2001 Return-path: <[EMAIL PROTECTED]> Received: from ppp13.math.uwaterloo.ca (landru.home.net) [::ffff:129.97.216.233] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14SOyz-00053H-00; Mon, 12 Feb 2001 13:49:57 -0600 Received: from treacy by landru.home.net with local (Exim 3.22 #1 (Debian)) id 14SOzi-0000Kt-00; Mon, 12 Feb 2001 14:50:42 -0500 Date: Mon, 12 Feb 2001 14:50:41 -0500 From: "James A. Treacy" <[EMAIL PROTECTED]> To: Yann Dirson <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Bug#83640: web pages: CGIs broken wrt '+' Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Fri, Jan 26, 2001 at 03:26:29PM +0000 Sender: "James A. Treacy" <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Arg. What a pain in the ass this one was. On Fri, Jan 26, 2001 at 03:26:29PM +0000, Yann Dirson wrote: > * http://packages.debian.org/g++ translates to > http://cgi.debian.org/cgi-bin/search_packages.pl?keywords=g++&searchon=names&version=all&release=all > > Should read "keywords=g%2B%2B" instead of "keywords=g++" > > * http://bugs.debian.org/g++ translates to > http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=g++ > > Again this should be pkg=g%2B%2B > It turns out that '+' are translated into ' ' when sent into cgi scripts. I have no idea where this is documented and was only discovered by testing. A quick look through the http spec did not turn up anything. It's probably buried in some doc on cgi scripts. Anyway, I have fixed the two scripts mentioned to correct the problem and all tests have worked. -- James (Jay) Treacy [EMAIL PROTECTED]