X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.c;h=310303439a41d51a60e3d92f90f31499e131cb04;hp=e1a893be9e866caad0f6a1bec99368d49ec8c688;hb=c7b206241261e0b79835e1b5ce1874d0e114035e;hpb=d83b7ce5d60b40bf7ecd9b50a340831b5a2dda7b diff --git a/cgisimple.c b/cgisimple.c index e1a893be..31030343 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -260,7 +260,13 @@ jb_err cgi_show_request(struct client_state *csp, } if (map(exports, "processed-request", 1, - html_encode_and_free_original(list_to_text(csp->headers)), 0)) + html_encode_and_free_original( +#ifdef FEATURE_HTTPS_INSPECTION + csp->http->ssl ? + list_to_text(csp->https_headers) : +#endif + list_to_text(csp->headers) + ), 0)) { free_map(exports); return JB_ERR_MEMORY;