Closed (fixed)
Project:
SQL Search (Trip Search)
Version:
4.6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2004 at 09:13 UTC
Updated:
16 Oct 2006 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
nedjoLooks like the problem is in an apostrophe (') in the search term. This would need to be escaped by the module. Presumably, the module should it use the addslashes() function before passing into the SQL statement.
Comment #2
Leeteq commentedBump. This is still a problem in the 4.6 version. Will it not be fixed for 4.6? Or is there a patch somewhere?
Comment #3
gregglesHere's a patch to fix this problem.
I think I got both situations where this could be a problem, but I welcome a review.
Comment #4
joel_guesclin commentedThis should be fixed in the 4.7 version
Comment #5
joel_guesclin commentedComment #6
joel_guesclin commentedI'm closing all requests raised on the 4.6 version since I don't intend to continue maintaining this. Hope this causes no problems.
Comment #7
gregglesWell, it is a problem insofar as any 4.6 site out there will be bitten by this bug. It isn't a problem in the next few months because people will be upgrading to 4.7 and will likely no longer need 4.6.
Thanks for the status update.