We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a8aa92 commit 2edbeb5Copy full SHA for 2edbeb5
oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/AbstractBlobStore.java
@@ -244,7 +244,7 @@ public String getReference(@NotNull String blobId) {
244
Mac mac = Mac.getInstance(ALGORITHM);
245
mac.init(new SecretKeySpec(getReferenceKey(), ALGORITHM));
246
byte[] hash = mac.doFinal(blobId.getBytes("UTF-8"));
247
- return ':' + BASE32ENCODER.encodeToString(hash);
+ return blobId + ':' + BASE32ENCODER.encodeToString(hash);
248
} catch (NoSuchAlgorithmException e) {
249
throw new IllegalStateException(e);
250
} catch (InvalidKeyException e) {
0 commit comments