[Top][All Lists]

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

[GNUnet-SVN] [gnunet] branch master updated: fix header check in param m

From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix header check in param map
Date: Thu, 27 Jun 2019 10:55:19 +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 9228812ae fix header check in param map
9228812ae is described below

commit 9228812aedaff897fdfae2b626726561de3d826d
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Jun 27 10:54:20 2019 +0200

    fix header check in param map
 src/rest/gnunet-rest-server.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index 9bf7dec50..89a2db3d9 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -441,8 +441,8 @@ create_response (void *cls,
     //Handle Preflights
     if (GNUNET_YES == echo_origin)
-                          strlen (MHD_HTTP_HEADER_ORIGIN),
+      GNUNET_CRYPTO_hash ("origin",
+                          strlen ("origin"),
       origin = GNUNET_CONTAINER_multihashmap_get (con_handle->data_handle

To stop receiving notification emails like this one, please contact

reply via email to

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