<p>This page lists <a href="../">Privoxy</a> sponsors and their <a href="../faq/general.html#SPONSOR">sponsor
level</a> with the exception of sponsors that preferred not to be listed here.</p>
<h3>Silver sponsors</h3>
- <p><a href="https://scrubtheweb.com/">https://scrubtheweb.com/</a></p>
<p><a href="https://www.lalal.ai/"><img src="../images/sponsors/lalal.ai_logo.png" alt=
"Vocal Remover by Lalal.ai"></a></p>
<h3>Bronze sponsors</h3>
static int debug = (LOG_LEVEL_FATAL | LOG_LEVEL_ERROR);
/* static functions */
-static void fatal_error(const char * error_message);
+static void fatal_error(const char *error_message);
#ifdef _WIN32
static char *w32_socket_strerr(int errcode, char *tmp_buf);
#endif
char outbuf[LOG_BUFFER_SIZE+1];
char tempbuf[LOG_BUFFER_SIZE];
size_t length = 0;
- const char * src = fmt;
+ const char *src = fmt;
long thread_id;
char timestamp[30];
const size_t log_buffer_size = LOG_BUFFER_SIZE;
#endif
if (loglevel == LOG_LEVEL_FATAL)
{
- fatal_error("Fatal error. You're not supposed to"
- "see this message. Please file a bug report.");
+ fatal_error("Fatal error. You're not supposed to "
+ "see this message. Please file a bug report.\n");
}
return;
}
*
* Purpose : Declares functions to parse/crunch headers and pages.
*
- * Copyright : Written by and Copyright (C) 2001-2020 the
+ * Copyright : Written by and Copyright (C) 2001-2024 the
* Privoxy team. https://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
struct block_spec *b;
struct pattern_spec **trusted_url;
struct http_request rhttp[1];
- const char * referer;
+ const char *referer;
jb_err err;
/*
}
}
- if (NULL == (referer = get_header_value(csp->headers, "Referer:")))
+#ifdef FEATURE_HTTPS_INSPECTION
+ if (client_use_ssl(csp))
{
- /* no referrer was supplied */
- return 1;
+ if (NULL == (referer = get_header_value(csp->https_headers, "Referer:")))
+ {
+ /* no referrer was supplied */
+ return 1;
+ }
+ }
+ else
+#endif
+ {
+ if (NULL == (referer = get_header_value(csp->headers, "Referer:")))
+ {
+ /* no referrer was supplied */
+ return 1;
+ }
}
-
/*
* If not, do we maybe trust its referrer?