Re: SQL injection in a ~ or LIKE statement

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SQL injection in a ~ or LIKE statement
Date: 2006-10-25 06:46:55
Message-ID: 20061025064655.GA5546@merkur.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 23, 2006 at 07:58:30AM +0200, Harald Armin Massa wrote:

> adding: Judging from the mails of Frederico, developer of psycopg2, he was
> also in the "early notify circle" of the 8.13->8.14 escaping improvement.
> So, if done correctly the DB API way, all escaping with psycopg2 is fine.

On the psycopg2 list Frederico writes that, technically,
psycopg2 currently uses PQEscapeStringConn and he plans on
adding out-of-query bind parameter support at some point in
the future.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2006-10-25 10:34:37 Re: 8.2beta1 installation fails
Previous Message Peter Eisentraut 2006-10-25 06:15:43 Re: [GENERAL] Call for Donations