View Issue Details

IDProjectCategoryView StatusLast Update
0009578mantisbtdb mysqlpublic2012-12-08 15:45
ReporterJoeMamma Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
PlatformIntel (HP server)OSLinuxOS VersionRHEL 5
Product Version1.2.0a2 
Summary0009578: Binary data corrupted in MySQL
Description

The function 'db_prepare_binary_string' in core\database_api.php incorrectly quotes the data, corrupting it.

Steps To Reproduce

The system consistently corrupts Word documents updated on the site. The original was not corrupted. However, updates to the document are not saved properly.

Additional Information

Creating a new case statement for database type 'mysql' which simply returns returns the string resolves the problem.

case 'mysql':
case 'mysqli':
return $p_string;
break;

Configuration:
Linux RHEL 5
PHP 5.1
MySQL 5.0

TagsNo tags attached.

Relationships

duplicate of 0012955 closeddregad After updating a project documentation the file is damaged 

Activities

There are no notes attached to this issue.