]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
Add missing escaping (systemid sometimes has a +)
authorHenryk Plötz <henryk@ploetzli.ch>
Thu, 9 Aug 2018 23:28:07 +0000 (01:28 +0200)
committerRaphael Michel <mail@raphaelmichel.de>
Mon, 3 Dec 2018 18:34:17 +0000 (19:34 +0100)
fints/segments/message.py

index 3157f488a5a43312936131f7dbddb20844c6ac41..88a6a76fcdff921e77a72a78bd94d19775032800 100644 (file)
@@ -73,7 +73,7 @@ class HNVSK(FinTS3SegmentOLD):
             ':'.join(['PIN', str(profile_version)]),
             998,
             self.SECURITY_SUPPLIER_ROLE,
-            ':'.join(['1', '', str(systemid)]),
+            ':'.join(['1', '', fints_escape(str(systemid))]),
             ':'.join(['1', time.strftime('%Y%m%d'), time.strftime('%H%M%S')]),
             ':'.join(['2', '2', '13', '@8@00000000', '5', '1']),  # Crypto algorithm
             ':'.join([str(self.country_code), blz, username, 'S', '0', '0']),