X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgi.c;h=580e2bfb47439907e8665a350087f6fc78890373;hp=b9f819473b7d9ba3d439fc2134d2ab0550ea68c9;hb=525e474e017c91ab9619d503ff537ca44825f428;hpb=adddb9e9bba4bf8c20d189fbea7e02d5c16d5568 diff --git a/cgi.c b/cgi.c index b9f81947..580e2bfb 100644 --- a/cgi.c +++ b/cgi.c @@ -444,7 +444,9 @@ static int referrer_is_safe(const struct client_state *csp) { char *referrer; static const char alternative_prefix[] = "http://" CGI_SITE_1_HOST "/"; +#ifdef FEATURE_HTTPS_INSPECTION static const char alt_prefix_https[] = "https://" CGI_SITE_1_HOST "/"; +#endif const char *trusted_cgi_referrer = csp->config->trusted_cgi_referrer; referrer = grep_cgi_referrer(csp);