Skip to content

Commit 7805bf3

Browse files
author
Chris Tapper
authored
Remove colon replacement (#118)
Hello @cjtapper, We tested and works fine so we are going to merge and include it in the next release. regards, Alexandros
1 parent 1ff60bb commit 7805bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adyen/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def generate_notification_sig(dict_object, hmac_key):
5757
def escape_val(val):
5858
if isinstance(val, int):
5959
return val
60-
return val.replace('\\', '\\\\').replace(':', '\\:')
60+
return val.replace('\\', '\\\\')
6161

6262
hmac_key = binascii.a2b_hex(hmac_key)
6363

0 commit comments

Comments
 (0)