gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-blog] branch master updated: missing param


From: gnunet
Subject: [GNUnet-SVN] [taler-blog] branch master updated: missing param
Date: Tue, 27 Aug 2019 01:07:33 +0200

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

dold pushed a commit to branch master
in repository blog.

The following commit(s) were added to refs/heads/master by this push:
     new ea51f6c  missing param
ea51f6c is described below

commit ea51f6caf7f025d70423341a9b73901ac9b134bc
Author: Florian Dold <address@hidden>
AuthorDate: Tue Aug 27 01:07:29 2019 +0200

    missing param
---
 talerblog/blog/blog.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index 9c4f8ad..d652808 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -337,12 +337,16 @@ def article(article_name, data=None):
         # run the payment protocol.
         taler_pay_uri = pay_status["taler_pay_uri"]
         qrcode_svg = get_qrcode_svg(taler_pay_uri)
-        check_status_url = flask.url_for(
-                "check_status", order_id=order_id, session_id=session_id)
+        check_status_url_enc = urllib.parse.quote(
+                flask.url_for(
+                    "check_status",
+                    order_id=order_id,
+                    session_id=session_id))
         content = flask.render_template("templates/request_payment.html",
                                          article_name=article_name,
                                          taler_pay_uri=taler_pay_uri,
-                                         qrcode_svg=qrcode_svg)
+                                         qrcode_svg=qrcode_svg,
+                                         
check_status_url_enc=check_status_url_enc)
         headers = { "Taler": taler_pay_uri }
         resp = flask.Response(content, status=402, headers=headers)
         return resp

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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