[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: do not json-decode payt
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: do not json-decode payto URIs |
Date: |
Wed, 08 May 2019 04:23:52 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new da73a5b do not json-decode payto URIs
da73a5b is described below
commit da73a5b2f61921583a5ca19063b0450e8d2727f0
Author: Florian Dold <address@hidden>
AuthorDate: Wed May 8 04:23:46 2019 +0200
do not json-decode payto URIs
---
talerbank/app/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 6c01c52..e58df0b 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -328,7 +328,7 @@ def get_acct_from_payto(s: str) -> int:
def pin_tan_question(request):
validate_data(request, request.GET.dict())
user_account = BankAccount.objects.get(user=request.user)
- wire_details = json.loads(request.GET["exchange_wire_details"])
+ wire_details = request.GET["exchange_wire_details"]
request.session["exchange_account_number"] =
get_acct_from_payto(wire_details)
amount = Amount(request.GET["amount_currency"],
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: do not json-decode payto URIs,
gnunet <=