Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.1
-
None
-
Java 8
Description
Generated UploadId is not unique for diffrent Locales.
Locale French (includes comma):
hello/slo/1494603748,474000/43/33554432
Locale English (includes dot):
hello/slo/1494603748.474000/43/33554432
Could you please add Locale.ENGLISH param to String.format method call.
String uploadId = String.format(Locale.ENGLISH, "%s/slo/%.6f/%s/%s", blobMetadata.getName(), System.currentTimeMillis() / 1000.0, contentLength == null ? Long.valueOf(0) : contentLength, partSize);