summaryrefslogtreecommitdiff
path: root/src/mod_extforward.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-06-14 19:51:06 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-08-27 02:16:53 -0400
commit8c5acaae3c02c2c90bed3efd5449841e3997b51e (patch)
tree092252062129034f974868d981ad0a9bbc9b0bcf /src/mod_extforward.c
parent84fa4b8d1bb38ebc503afaf585baad6fa736c818 (diff)
downloadlighttpd-git-8c5acaae3c02c2c90bed3efd5449841e3997b51e.tar.gz
[core] lowercase r->http_host, r->uri.authority
always lowercase r->http_host, r->uri.authority for consistency
Diffstat (limited to 'src/mod_extforward.c')
-rw-r--r--src/mod_extforward.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_extforward.c b/src/mod_extforward.c
index dc0f01ac..74612f5a 100644
--- a/src/mod_extforward.c
+++ b/src/mod_extforward.c
@@ -958,6 +958,7 @@ static handler_t mod_extforward_Forwarded (request_st * const r, plugin_data * c
else {
buffer_copy_string_len(r->http_host, s+v, vlen-v);
}
+ buffer_to_lower(r->http_host);
if (0 != http_request_host_policy(r->http_host,
r->conf.http_parseopts,