X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=project.h;h=e07c761601337a40b597616e049c366370cc00f3;hb=a010e5b6a235afc6c5adb1d6512e431e8a65d4e0;hp=ec3c1559043d0484b1fe223d0798a531511fd71a;hpb=0fc07e07a74872fb3347dc762372ba7c843d5a52;p=privoxy.git diff --git a/project.h b/project.h index ec3c1559..e07c7616 100644 --- a/project.h +++ b/project.h @@ -1645,8 +1645,13 @@ struct configuration_spec * The prefix for CGI pages. Written out in generated HTML. * INCLUDES the trailing slash. */ +#ifdef FEATURE_HTTPS_INSPECTION +#define CGI_PREFIX "//" CGI_SITE_2_HOST CGI_SITE_2_PATH "/" +#define CGI_PREFIX_HTTPS "https:" CGI_PREFIX +#else #define CGI_PREFIX "http://" CGI_SITE_2_HOST CGI_SITE_2_PATH "/" -#define CGI_PREFIX_HTTPS "https://" CGI_SITE_2_HOST CGI_SITE_2_PATH "/" +#endif +#define CGI_PREFIX_HTTP "http://" CGI_SITE_2_HOST CGI_SITE_2_PATH "/" #endif /* ndef PROJECT_H_INCLUDED */