gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-bank] branch master updated: no subject sanitization


From: gnunet
Subject: [taler-bank] branch master updated: no subject sanitization
Date: Tue, 28 Jul 2020 15:50:33 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new a10d1b6  no subject sanitization
a10d1b6 is described below

commit a10d1b6354d0ebd97b296943b273164da4d8b783
Author: MS <ms@taler.net>
AuthorDate: Tue Jul 28 15:50:03 2020 +0200

    no subject sanitization
---
 talerbank/app/views.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index f4c28ec..be2a38b 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -878,14 +878,12 @@ def twg_history_incoming(request, user_account, acct_id):
         start = int(start_str)
     qs = query_history(user_account.bankaccount, "credit", delta, start,)
     for item in qs:
-        if not get_reserve_pub(item.subject):
-            continue
         history.append(
             dict(
                 row_id=item.id,
                 amount=item.amount.stringify(settings.TALER_DIGITS),
                 date=dict(t_ms=(int(item.date.timestamp()) * 1000)),
-                reserve_pub=get_reserve_pub(item.subject),
+                reserve_pub=item.subject,
                 credit_account=get_payto_from_account(request, 
item.credit_account),
                 debit_account=get_payto_from_account(request, 
item.debit_account),
             )

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]