in reply to Re^5: DBH Insert of Binary Data
in thread DBH Insert of Binary Data
#!perl -w use strict; use DBI; my $dbh = DBI->connect('DBI:mysql:database=test','xxx','yyy',) || die; print $dbh->quote(q{Boston;DELETE FROM myTable}); __END__ 'Boston;DELETE FROM myTable'
I don't see your point. If any DBD driver let's this through, (and DBD::mysql doesn't), it's a major bug. Yes, it might be inefficient, but it should never lead to a security risk if used correctly.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: DBH Insert of Binary Data
by jZed (Prior) on Mar 19, 2005 at 01:39 UTC | |
by Joost (Canon) on Mar 19, 2005 at 01:44 UTC | |
by jZed (Prior) on Mar 19, 2005 at 01:46 UTC |