Open Source Training Seminar FreePBX Paid Support

Ticket #1963 (closed Bugs: fixed)

Opened 1 year ago

Last modified 1 year ago

mysql_real_escape_string not available when running on sqlite3 mode

Reported by: diego_iastrubni Assigned to:
Priority: major Milestone: 2.2
Component: Core Version: 2.3-branch
Keywords: sqlite3 Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Some modules (time conditions for example) use mysql_real_escape_string() to sanitize strings before sent to the SQL server. This is very important, however this specific function is not available on systems running with SQLite3 or pgsql.

I am attaching a working patch, tested on our systems.

Attachments

fix-mysql-real-escape-string.dpatch (1.6 kB) - added by diego_iastrubni on 05/29/07 20:52:24.
fix for this problem (patch against the 2.2.1 release)

Change History

05/29/07 20:52:24 changed by diego_iastrubni

  • attachment fix-mysql-real-escape-string.dpatch added.

fix for this problem (patch against the 2.2.1 release)

06/09/07 02:41:43 changed by p_lindheimer

  • version changed from 2.2.1 to 2.3-branch.

06/27/07 02:08:50 changed by diego_iastrubni

  • status changed from new to closed.
  • resolution set to fixed.

fixed by revision:4238

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads