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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 42 + 7 = ?

 
 [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