From ac4641b6df0add39692d0d8b883a67dad328a373 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 15 Feb 2014 23:29:06 +0100 Subject: [PATCH] About to fix Base64EncodingModuloException (needed for debugging). Signed-off-by: Roland Haeder --- .../main/streams/raw_data/output/class_RawDataOutputStream.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php b/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php index fdbad2082..7a4ec1845 100644 --- a/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php +++ b/application/hub/main/streams/raw_data/output/class_RawDataOutputStream.php @@ -58,7 +58,9 @@ class RawDataOutputStream extends BaseStream implements OutputStreamable { * [[S]] - Start marker * [[E]] - End marker */ + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: data()=' . strlen($data) . ' - BEFORE!'); $data = BaseRawDataHandler::STREAM_START_MARKER . base64_encode($data) . BaseRawDataHandler::STREAM_END_MARKER; + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ']: data()=' . strlen($data) . ' - AFTER!'); // Return it return $data; -- 2.39.5