aboutsummaryrefslogtreecommitdiff
path: root/common/src/at/gv/egovernment/moa
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/at/gv/egovernment/moa')
-rw-r--r--common/src/at/gv/egovernment/moa/util/Base64Utils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/at/gv/egovernment/moa/util/Base64Utils.java b/common/src/at/gv/egovernment/moa/util/Base64Utils.java
index ba2c4fb0e..ad29180a6 100644
--- a/common/src/at/gv/egovernment/moa/util/Base64Utils.java
+++ b/common/src/at/gv/egovernment/moa/util/Base64Utils.java
@@ -92,7 +92,7 @@ public class Base64Utils {
*/
public static String encode(InputStream inputStream) throws IOException {
ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
- Base64OutputStream base64Stream = new Base64OutputStream(byteStream);
+ Base64OutputStream base64Stream = new Base64OutputStream(byteStream, "\n".getBytes());
byte[] bytes = new byte[256];
int bytesRead;