summaryrefslogtreecommitdiff
path: root/src/tipideed
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-14 06:04:21 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-14 06:04:21 +0000
commit66844097454a8f2b4eddec64d4f276602c4cdd3a (patch)
tree479381323bf7e8911f2039e3fac529f8d9ccd1a6 /src/tipideed
parente3c075c72d6b7b64c869b4cb0c0ff128b1d084cd (diff)
downloadtipidee-66844097454a8f2b4eddec64d4f276602c4cdd3a.tar.xz
Re-enable HTTP_HOST; fix xiscgi
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed')
-rw-r--r--src/tipideed/cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c
index 12b2155..343f7af 100644
--- a/src/tipideed/cgi.c
+++ b/src/tipideed/cgi.c
@@ -85,7 +85,7 @@ static inline void modify_env (tipidee_rql const *rql, char const *docroot, tipi
}
}
else if (!strcasecmp(key, "Content-Type")) { addenv(rql, docroot, "CONTENT_TYPE", val) ; got |= 2 ; }
- else if (!strcasecmp(key, "Content-Length") || !strcasecmp(key, "Connection") || !strcasecmp(key, "Host")) ;
+ else if (!strcasecmp(key, "Content-Length") || !strcasecmp(key, "Connection")) ;
else
{
size_t len = strlen(key), pos = g.sa.len + 5 ;