From 5c0e4a1f6c77d47c8514f9c70c2b36748d0e598a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 24 Dec 2020 12:19:07 +0100 Subject: [PATCH] Update a comment in parse_http_url() --- urlmatch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/urlmatch.c b/urlmatch.c index 3cd1147c..4670f310 100644 --- a/urlmatch.c +++ b/urlmatch.c @@ -263,7 +263,9 @@ jb_err parse_http_url(const char *url, struct http_request *http, int require_pr else if (strncmpic(url_noproto, "https://", 8) == 0) { /* - * Should only happen when called from cgi_show_url_info(). + * Should only happen when called from cgi_show_url_info() + * or when the request was https-inspected and the request + * line got rewritten. */ url_noproto += 8; http->ssl = 1; -- 2.39.2