We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 490e0b4 commit 9d07b59Copy full SHA for 9d07b59
src/main/java/io/tus/java/client/TusUpload.java
@@ -98,7 +98,7 @@ public String getEncodedMetadata() {
98
if(!firstElement) {
99
encoded += ",";
100
}
101
- encoded += entry.getKey() + " " + new String(base64Encode(entry.getValue().getBytes()));
+ encoded += entry.getKey() + " " + base64Encode(entry.getValue().getBytes());
102
103
firstElement = false;
104
0 commit comments