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: drop the X- prefix and


From: gnunet
Subject: [GNUnet-SVN] [taler-blog] branch master updated: drop the X- prefix and uriencode
Date: Sat, 24 Aug 2019 19:37:34 +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 408caef  drop the X- prefix and uriencode
408caef is described below

commit 408caef21673f826db07b6aded3d80d75a57ca99
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 24 19:37:30 2019 +0200

    drop the X- prefix and uriencode
---
 talerblog/blog/blog.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index 2c1cf86..5340d56 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -329,9 +329,9 @@ def article(article_name, data=None):
         # run the payment protocol.
         contract_url = pay_status["contract_url"]
         headers = {
-                "X-Taler-Contract-Url": contract_url,
-                "X-Taler-Session-Url": session_id,
-                "X-Taler-Resource-Url": resource_url,
+                "Taler-Contract-Url": urllib.parse.quote(contract_url),
+                "Taler-Session-Url": urllib.parse.quote(session_id),
+                "Taler-Resource-Url": urllib.parse.quote(resource_url),
         }
 
         taler_pay_uri = "talerpay:" + urllib.parse.quote_plus(contract_url) + 
";" + session_id

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



reply via email to

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