diff --git a/reaper/reaper/src/main/kotlin/com/emergetools/reaper/ReaperReportUploadWorker.kt b/reaper/reaper/src/main/kotlin/com/emergetools/reaper/ReaperReportUploadWorker.kt index 17c358f6..6d894ec3 100644 --- a/reaper/reaper/src/main/kotlin/com/emergetools/reaper/ReaperReportUploadWorker.kt +++ b/reaper/reaper/src/main/kotlin/com/emergetools/reaper/ReaperReportUploadWorker.kt @@ -207,6 +207,6 @@ fun longToBase64(hash: Long): String { for (i in 0..7) { buf[i] = ((hash shr i * 8) and 0xFFL).toByte() } - val hashAsBase64 = Base64.encodeToString(buf, Base64.DEFAULT) - return hashAsBase64 + val hashAsBase64 = Base64.encodeToString(buf, Base64.NO_WRAP) + return hashAsBase64.strip() }