From e9469e131ac6d2702419740a956f428e7a7e960d Mon Sep 17 00:00:00 2001 From: dankl Date: Sat, 12 Oct 2019 23:42:50 +0200 Subject: [PATCH] Fixed unmasking characters --- .../main/kotlin/net/dankito/fints/response/ResponseParser.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt index b5c98686..633311aa 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/response/ResponseParser.kt @@ -267,7 +267,7 @@ open class ResponseParser @JvmOverloads constructor( elements.add(dataString.substring(startIndex)) } - return elements + return elements.map { it.replace(Separators.MaskingCharacter + separator, separator) } } protected open fun isEncryptionDataSegment(dataString: String, binaryDataMatcher: Matcher): Boolean {