Mailing List Archive

Search bug?
Hi!

Is it possible that there is some weird debugging code showing up when
searching for something like

http://www.wikipedia.com/wiki.phtml?search=%22football%22

or anything else containing quotes or backslashes?

(it shows "grrrgrrr" on top of my browser window within the cologne blue
skin.)

Also, searches for one backslash appears as two backslashes in the
search form after submission. Probably striplslashes() should be applied
to the text shown in the html search form.

Cheers,

Marian

--
Marian Steinbach
http://www.ds.fh-koeln.de/~marian/
ICQ# 9790691
Re: Search bug? [ In reply to ]
On Sat, Jul 06, 2002 at 12:57:08AM +0200, Marian Steinbach wrote:
>
> Is it possible that there is some weird debugging code showing up when
> searching for something like
>
> http://www.wikipedia.com/wiki.phtml?search=%22football%22
>
> or anything else containing quotes or backslashes?
>
> (it shows "grrrgrrr" on top of my browser window within the cologne blue
> skin.)

I believe that is Brion's frustration showing through when he tried to make
sense of my code for the search expression parser. :-)

> Also, searches for one backslash appears as two backslashes in the
> search form after submission. Probably striplslashes() should be applied
> to the text shown in the html search form.

Yes, that is part of the problem. This is fixed in the new code base
that we will soon change to.

-- Jan Hidders