projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove sponsor Scrubtheweb.com as they canceled the subscription
[privoxy.git]
/
loaders.c
diff --git
a/loaders.c
b/loaders.c
index
5f21fd0
..
a9820df
100644
(file)
--- a/
loaders.c
+++ b/
loaders.c
@@
-1168,6
+1168,10
@@
int load_one_re_filterfile(struct client_state *csp, int fileid)
{
new_filter = FT_CLIENT_BODY_FILTER;
}
{
new_filter = FT_CLIENT_BODY_FILTER;
}
+ else if (strncmp(buf, "CLIENT-BODY-TAGGER:", 19) == 0)
+ {
+ new_filter = FT_CLIENT_BODY_TAGGER;
+ }
/*
* If this is the head of a new filter block, make it a
/*
* If this is the head of a new filter block, make it a
@@
-1190,6
+1194,10
@@
int load_one_re_filterfile(struct client_state *csp, int fileid)
{
new_bl->name = chomp(buf + 19);
}
{
new_bl->name = chomp(buf + 19);
}
+ else if (new_filter == FT_CLIENT_BODY_TAGGER)
+ {
+ new_bl->name = chomp(buf + 19);
+ }
else
{
new_bl->name = chomp(buf + 21);
else
{
new_bl->name = chomp(buf + 21);