diff --git a/src/h2.c b/src/h2.c index 27a7a4e90..ec8e2fe97 100644 --- a/src/h2.c +++ b/src/h2.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -553,6 +554,10 @@ int h2_make_htx_request(struct http_hdr *list, struct htx *htx, unsigned int *ms if (!htx_add_endof(htx, HTX_BLK_EOH)) goto fail; + /* proceed to scheme-based normalization on target-URI */ + if (fields & H2_PHDR_FND_SCHM) + http_scheme_based_normalize(htx); + ret = 1; return ret;