From: fel...@php.net Operating system: PHP version: 5.3CVS-2009-02-15 (CVS) PHP Bug Type: PDO related Bug description: PDO_Firebird doesn't implements quoter correctly
Description: ------------ PDO_firebird doesn't add the initial and final quotes as other drivers and is not escaping quotes. Because this behavior currently pdo_033.phpt is failing. Reproduce code: --------------- var_dump($db->quote(' !"#$%&\'()*+,-./0123456789:;<=>?...@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~')); var_dump($db->quote('')); Expected result: ---------------- string(98) "' !"#$%&''()*+,-./0123456789:;<=>?...@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'" string(2) "''" Actual result: -------------- string(96) " !"#$%&'()*+,-./0123456789:;<=>?...@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" bool(false) -- Edit bug report at http://bugs.php.net/?id=47398&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47398&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47398&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47398&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47398&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47398&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47398&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47398&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47398&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47398&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47398&r=support Expected behavior: http://bugs.php.net/fix.php?id=47398&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47398&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47398&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47398&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47398&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47398&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47398&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47398&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47398&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47398&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47398&r=mysqlcfg