Skip to content

Commit

Permalink
fix(android): Ensure base64 encoded response has no wrap.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrahn24 committed Jan 12, 2022
1 parent 3aca516 commit 94570fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private static String readStreamAsBase64(InputStream in) throws IOException {
out.write(buffer, 0, readBytes);
}
byte[] result = out.toByteArray();
return Base64.encodeToString(result, 0, result.length, Base64.DEFAULT);
return Base64.encodeToString(result, 0, result.length, Base64.NO_WRAP);
}
}

Expand Down

0 comments on commit 94570fd

Please sign in to comment.