[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#83640: marked as done (web pages: CGIs broken wrt '+')



Your message dated Mon, 12 Feb 2001 14:50:41 -0500
with message-id <[🔎] 20010212145041.A1259@landru.home.link>
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 dirson@debian.org Fri Jan 26 08:29:52 2001
Return-path: <dirson@debian.org>
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 <submit@bugs.debian.org>; Fri, 26 Jan 2001 15:29:56 +0100
Received: (from ydirson@localhost)
	by MERLIN.logatique.fr (8.8.8+Sun/8.8.8) id PAA14834
	for submit@bugs.debian.org; Fri, 26 Jan 2001 15:26:29 GMT
Date: Fri, 26 Jan 2001 15:26:29 +0000
From: Yann Dirson <dirson@debian.org>
To: submit@bugs.debian.org
Subject: web pages: CGIs broken wrt '+'
Message-ID: <20010126152629.A14801@merlin.logatique.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.12i
X-BadReturnPath: ydirson@MERLIN.logatique.fr rewritten as dirson@debian.org
  using "From" header
Delivered-To: submit@bugs.debian.org

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 treacy@debian.org Mon Feb 12 13:49:58 2001
Return-path: <treacy@debian.org>
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" <treacy@debian.org>
To: Yann Dirson <dirson@debian.org>, 83640@bugs.debian.org
Cc: 83640-done@bugs.debian.org
Subject: Re: Bug#83640: web pages: CGIs broken wrt '+'
Message-ID: <[🔎] 20010212145041.A1259@landru.home.link>
References: <20010126152629.A14801@merlin.logatique.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.12i
In-Reply-To: <20010126152629.A14801@merlin.logatique.fr>; from dirson@debian.org on Fri, Jan 26, 2001 at 03:26:29PM +0000
Sender: "James A. Treacy" <treacy@home.net>
Delivered-To: 83640-done@bugs.debian.org

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
treacy@debian.org



Reply to: