Skip to content

Commit b325d59

Browse files
authored
Merge pull request #51 from codebendercc/base64-encoding-fix
Removed extra base64 encoding step
2 parents 3791966 + 3a33d0a commit b325d59

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerV2Handler.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,6 @@ private function convertOutput($start_time, $config)
466466
];
467467
}
468468

469-
// Don't return unprintable characters. Base64 encode if necessary.
470-
if ($this->isBinaryObject($content))
471-
$content = base64_encode($content);
472-
473469
// Get the size of the requested output file and return to the caller
474470
$size_cmd = $this->builderPref("recipe.size.pattern");
475471
$size_regex = $this->builderPref("recipe.size.regex");

0 commit comments

Comments
 (0)