Bug#83640: web pages: CGIs broken wrt '+'
On Mon, Feb 12, 2001 at 02:50:41PM -0500, James A. Treacy wrote:
> 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
> Anyway, I have fixed the two scripts mentioned to correct the
> problem and all tests have worked.
Argh... a chance I did not take time yet to investigate - well, I had
installed apache already, it's time to bring boa back ;)
Great work !
Yann Dirson <firstname.lastname@example.org> | Why make M$-Bill richer & richer ?
debian-email: <email@example.com> | Support Debian GNU/Linux:
| Cheaper, more Powerful, more Stable !
http://ydirson.free.fr/ | Check <http://www.debian.org/>