[sork] password query bug

Eric Rostetter eric.rostetter at physics.utexas.edu
Mon Dec 8 07:16:55 PST 2003


Quoting tlabs <tlabs at technolabs.ath.cx>:

>         'query_lookup' => 'SELECT password FROM mailusers WHERE
> concat(user,'@',domain) = %u'

You can't nest single quotes in single quots.  So change the quotes
around the whole select statement to double quotes, or escape the
inner single quotes, or something similar.

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin
 
Why get even? Get odd!


More information about the sork mailing list