make URLs case-sensitive
This commit is contained in:
parent
7914d7c7e3
commit
a18011012d
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
This file is part of TALER
|
This file is part of TALER
|
||||||
Copyright (C) 2014, 2015, 2016 Inria and GNUnet e.V.
|
Copyright (C) 2014, 2015, 2016, 2019 Inria and GNUnet e.V.
|
||||||
|
|
||||||
TALER is free software; you can redistribute it and/or modify it under the
|
TALER is free software; you can redistribute it and/or modify it under the
|
||||||
terms of the GNU Affero General Public License as published by the Free Software
|
terms of the GNU Affero General Public License as published by the Free Software
|
||||||
@ -454,8 +454,8 @@ handle_mhd_request (void *cls,
|
|||||||
for (unsigned int i = 0; NULL != handlers[i].url; i++)
|
for (unsigned int i = 0; NULL != handlers[i].url; i++)
|
||||||
{
|
{
|
||||||
rh = &handlers[i];
|
rh = &handlers[i];
|
||||||
if ( (0 == strcasecmp (url,
|
if ( (0 == strcmp (url,
|
||||||
rh->url)) &&
|
rh->url)) &&
|
||||||
( (NULL == rh->method) ||
|
( (NULL == rh->method) ||
|
||||||
(0 == strcasecmp (method,
|
(0 == strcasecmp (method,
|
||||||
rh->method)) ) )
|
rh->method)) ) )
|
||||||
@ -515,7 +515,7 @@ parse_port_config (const char *section,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (0 == strcmp (serve_type, "tcp"))
|
if (0 == strcasecmp (serve_type, "tcp"))
|
||||||
{
|
{
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_OK !=
|
||||||
GNUNET_CONFIGURATION_get_value_number (cfg,
|
GNUNET_CONFIGURATION_get_value_number (cfg,
|
||||||
|
Loading…
Reference in New Issue
Block a user