This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "FusionForge".
The branch, master has been updated via f5df0edb16a0cfe6ed8b2dd2370dd60b31cedeee (commit) via f291cf78f456fa8e4a23f34fe484e7564bc07f17 (commit) via 73f3eeef57228233227c787ba13107514e1f4b2a (commit) from b0be971d2292f82c0a0699c9c2c06bdea78c5c35 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=f5df0edb16a0cfe6ed8b2dd2370dd60b31cedeee commit f5df0edb16a0cfe6ed8b2dd2370dd60b31cedeee Merge: b0be971 f291cf7 Author: Franck Villaume <franck.villa...@trivialdev.com> Date: Wed Oct 12 20:21:19 2016 +0200 Merge branch '6.0' diff --cc src/www/soap/tracker/tracker.php index 72a4be5,93e2493..cb15629 --- a/src/www/soap/tracker/tracker.php +++ b/src/www/soap/tracker/tracker.php @@@ -941,10 -939,14 +941,14 @@@ function addArtifactFile($session_ser,$ $bin_data = base64_decode($base64_contents); $filesize = strlen($bin_data); - $res = $af->create($filename,$filetype,$filesize,$bin_data,$description); + // Bugfix: Send filename and not the content + $tmpfname = tempnam("/tmp", "forgeupload"); + file_put_contents($tmpfname, $bin_data); + + $res = $af->create($filename,$filetype,$filesize,$tmpfname,$description); if (!$res) { - return new soap_fault ('','addArtifactFile',$af->getErrorMessage(),$af->getErrorMessage()); + return new soap_fault('','addArtifactFile',$af->getErrorMessage(),$af->getErrorMessage()); } return $res; ----------------------------------------------------------------------- Summary of changes: src/CHANGES | 1 + src/www/soap/tracker/tracker.php | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) hooks/post-receive -- FusionForge _______________________________________________ Fusionforge-commits mailing list Fusionforge-commits@lists.fusionforge.org http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits