Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #19965 Double escaping id escaping_wildcards
Submitted: 2013-05-30 19:51 UTC
From: alex_le Assigned:
Status: Open Package: MDB2_Driver_mysqli (version 1.5.0b4)
PHP Version: 5.4.15 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2013-05-30 19:51 UTC] alex_le (Alexander Opitz)
Description: ------------ in function escape/quote, if you set $escape_wildcards to true, then the escape will be double escaped. Test script: --------------- var_dump($mdb2->escape('Test_1', true)); var_dump($mdb2->quote('Test_1', 'text', true, true)); Expected result: ---------------- Test\_1 'Test\_1' Actual result: -------------- Test\\_1 'Test\\_1'

Comments