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

Bug #19729 URLs are forcely converted to the content of URL
Submitted: 2012-11-30 08:02 UTC
From: pear_ikd Assigned:
Status: Open Package: MDB2_Driver_mysqli (version 1.5.0b4)
PHP Version: 5.3.3 OS: CentOS release 5.8
Roadmaps: (Not assigned)    
Subscription  


 [2012-11-30 08:02 UTC] pear_ikd (Zzzzzz Ikeda)
Description: ------------ The version 1.5.0b4 beta of this driver forcely converts a clob / blob field value to the content exressed by the value , when the value is matched to URL pattern and so on. For example, you cannnot insert the value 'https://pear.php.net/' to clob field. This feature is implemented by the code below. line: 1612 if (is_resource($value) || $type == 'clob' || $type == 'blob' && $this->db->options['lob_allow_url_include']) This code seems to include incidental mistake about precedence of logical operater.?The corrent code is bellow. line: 1612 if (is_resource($value) || (($type == 'clob' || $type == 'blob') && $this->db->options['lob_allow_url_include']))

Comments