diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-06-14 19:51:06 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-08-27 02:16:53 -0400 |
commit | 8c5acaae3c02c2c90bed3efd5449841e3997b51e (patch) | |
tree | 092252062129034f974868d981ad0a9bbc9b0bcf /src/mod_extforward.c | |
parent | 84fa4b8d1bb38ebc503afaf585baad6fa736c818 (diff) | |
download | lighttpd-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.c | 1 |
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, |