From 45808dbc6dc1b90fa512add692252bc15760a214 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 26 Jun 2026 01:26:17 +0000 Subject: Add cgi_pass_authorization --- src/tipideed/cgi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tipideed/cgi.c') diff --git a/src/tipideed/cgi.c b/src/tipideed/cgi.c index 3e15b69..ca66ec5 100644 --- a/src/tipideed/cgi.c +++ b/src/tipideed/cgi.c @@ -97,6 +97,7 @@ static inline void modify_env (tipidee_rql const *rql, char const *docroot, tipi addenvb(rql, docroot, "AUTH_TYPE", val, n) ; got |= 1 ; } + if (g.flagcgipassauth) addenvb(rql, docroot, "HTTP_AUTHORIZATION", val, len) ; } else if (!strcasecmp(key, "Content-Type")) { addenv(rql, docroot, "CONTENT_TYPE", val) ; got |= 2 ; } else if (!strcasecmp(key, "Content-Length") || !strcasecmp(key, "Connection")) ; -- cgit v1.3.1