projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version to 3.0.31 stable
[privoxy.git]
/
filters.c
diff --git
a/filters.c
b/filters.c
index
95fbe8d
..
c49f1bc
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1246,8
+1246,9
@@
struct http_response *redirect_url(struct client_state *csp)
}
new_url = rewrite_url(requested_url, redirection_string);
#ifdef FEATURE_HTTPS_INSPECTION
}
new_url = rewrite_url(requested_url, redirection_string);
#ifdef FEATURE_HTTPS_INSPECTION
- if (
client_use_ssl(csp)
)
+ if (
requested_url != csp->http->url
)
{
{
+ assert(client_use_ssl(csp));
freez(requested_url);
}
#endif
freez(requested_url);
}
#endif
@@
-1704,8
+1705,8
@@
static char *pcrs_filter_impl(const struct client_state *csp, int filter_respons
}
else
{
}
else
{
- log_error(LOG_LEVEL_RE_FILTER,
- "
filtering client %s request body
(size %lu) with \'%s\' produced %d hits (new size %lu).",
+ log_error(LOG_LEVEL_RE_FILTER,
"filtering request body from client %s "
+ "(size %lu) with \'%s\' produced %d hits (new size %lu).",
csp->ip_addr_str, prev_size, b->name, current_hits, size);
}
#ifdef FEATURE_EXTENDED_STATISTICS
csp->ip_addr_str, prev_size, b->name, current_hits, size);
}
#ifdef FEATURE_EXTENDED_STATISTICS