Decode base64 encoded registry resource for dss
Fix:
@@ -603,7 +603,9 @@ public class DBUtils {
OMElement e = (OMElement) regEntry;
resolvedValue = e.toString();
} else if (regEntry instanceof OMText) {
- resolvedValue = ((OMText) regEntry).getText();
+ String rawValue = ((OMText) regEntry).getText();
+ byte[] decodedBytes = Base64.decodeBase64(rawValue.getBytes(StandardCharsets.UTF_8));
+ resolvedValue = new String(decodedBytes, StandardCharsets.UTF_8);
} else if (regEntry instanceof String) {
resolvedValue = (String) regEntry;
}
