[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Echoing p
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: Echoing parameters to /history the right way. |
Date: |
Wed, 01 Mar 2017 00:33:58 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
The following commit(s) were added to refs/heads/master by this push:
new 9d430d9 Echoing parameters to /history the right way.
9d430d9 is described below
commit 9d430d9653944ab2810b4f83b0c0a799bdfbcb81
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 1 00:33:32 2017 +0100
Echoing parameters to /history the right way.
---
talerfrontends/blog/blog.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/talerfrontends/blog/blog.py b/talerfrontends/blog/blog.py
index bfc9c9b..55a78c0 100644
--- a/talerfrontends/blog/blog.py
+++ b/talerfrontends/blog/blog.py
@@ -162,10 +162,9 @@ def pay():
def history():
# FIXME now JS needs to give a *timestamp*, NOT
# days anymore..
- qs = get_query_string()
+ qs = get_query_string().decode("utf-8")
url = urljoin(BACKEND_URL, "history")
- logger.info("Echoing parameters, '%s'" % qs)
- r = requests.get(url, params=dict(parse_qsl(urlsplit(url).query)))
+ r = requests.get(url, params=dict(parse_qsl(qs)))
if r.status_code != 200:
logger.error("failed to GET to '%s'", url)
raise BackendError(r.status_code, r.text)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: Echoing parameters to /history the right way.,
gnunet <=