Update a comment in parse_http_url()
authorFabian Keil <fk@fabiankeil.de>
Thu, 24 Dec 2020 11:19:07 +0000 (12:19 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sat, 2 Jan 2021 12:55:03 +0000 (13:55 +0100)
urlmatch.c

index 3cd1147..4670f31 100644 (file)
@@ -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)
       {
          /*
       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;
           */
          url_noproto += 8;
          http->ssl = 1;