[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: - fix urldecode params #2
From: |
gnunet |
Subject: |
[gnunet] branch master updated: - fix urldecode params #2 |
Date: |
Sun, 02 Aug 2020 17:07:10 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d8c3df26a - fix urldecode params #2
d8c3df26a is described below
commit d8c3df26a577ebbe623c05c43c00823c6b8312ae
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Aug 2 17:01:04 2020 +0200
- fix urldecode params #2
---
src/reclaim/plugin_rest_openid_connect.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/reclaim/plugin_rest_openid_connect.c
b/src/reclaim/plugin_rest_openid_connect.c
index 74fb71135..6c71155ef 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -1493,6 +1493,7 @@ get_url_parameter_copy (const struct RequestHandle
*handle, const char *key)
{
struct GNUNET_HashCode hc;
char *value;
+ char *res;
GNUNET_CRYPTO_hash (key, strlen (key), &hc);
if (GNUNET_YES != GNUNET_CONTAINER_multihashmap_contains (handle->rest_handle
@@ -1503,7 +1504,8 @@ get_url_parameter_copy (const struct RequestHandle
*handle, const char *key)
GNUNET_CONTAINER_multihashmap_get (handle->rest_handle->url_param_map,
&hc);
if (NULL == value)
return NULL;
- return GNUNET_STRINGS_urldecode (value);
+ GNUNET_STRINGS_urldecode (value, strlen (value), &res);
+ return res;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: - fix urldecode params #2,
gnunet <=