X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgisimple.c;h=310303439a41d51a60e3d92f90f31499e131cb04;hp=e1a893be9e866caad0f6a1bec99368d49ec8c688;hb=79cedb75df33fffda463939830471b265a283b15;hpb=52460473669cd31edd8cb8ae66c6b94c489e7e1d 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;