View Single Post
Old 10-05-2003, 12:22 PM   #4
Iltud
Green Mole
 
Join Date: Sep 2003
Location: Brest - France
Posts: 22
Edit for Solution :

After chekcing, there is no possibilty to include SQL code. But there is effectivly a bug as Roland said.

All quotes are badly stripped.

At the begining "reference documentation" is transformed in \"reference documentation\".

At line #100 in search_function.php it's then transformed in \reference documentation\ (quotes disappear).

Then, each word, separated by a space, is used in a query. In Roland's case, this give two queries with :

.... AND k.keyword like '\reference%'
and
.... AND k.keyword like 'documentation\%'

Of course, this cause mySql to fail.


IMHO, a solution could be around lines 97-103.



Thanks,
Nicolas.

Last edited by Iltud; 10-05-2003 at 01:37 PM.
Iltud is offline   Reply With Quote