From 66844097454a8f2b4eddec64d4f276602c4cdd3a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 14 Dec 2023 06:04:21 +0000 Subject: Re-enable HTTP_HOST; fix xiscgi Signed-off-by: Laurent Bercot --- src/tipideed/cgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tipideed') 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 ; -- cgit v1.2.3