Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

fix(android): Ensure base64 encoded response has no wrap. #220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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