summaryrefslogtreecommitdiffhomepage
path: root/src/transparent-proxy.h
diff options
context:
space:
mode:
authorDaniel Egger <daniel.egger@sphairon.com>2010-08-16 22:36:20 +0200
committerMichael Adam <obnox@samba.org>2010-12-01 22:25:44 +0100
commit62443a63918e7c3ccb02fd4522c012a06a36644b (patch)
tree1b8a67d733955fbb8ca01aa3d7e51f3b03fe5ed9 /src/transparent-proxy.h
parent58ac635a17dcfe8add856fea5af9faacf56aca16 (diff)
[BB#95] Fix FilterURLs with transparent proxy support.
Pass a pointer to a char pointer to do_transparent_proxy so the reassembled URL will actually end up back in the caller where it is needed for filtering decisions. This fixes the problem that a tinyproxy configured with the transparent proxy functionality and "FilterURLs Yes" would filter on everything but the domain. Signed-off-by: daniel.egger@sphairon.com Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/transparent-proxy.h')
-rw-r--r--src/transparent-proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transparent-proxy.h b/src/transparent-proxy.h
index 6e77d51..4fc3a4d 100644
--- a/src/transparent-proxy.h
+++ b/src/transparent-proxy.h
@@ -32,7 +32,7 @@
extern int do_transparent_proxy (struct conn_s *connptr,
hashmap_t hashofheaders,
struct request_s *request,
- struct config_s *config, char *url);
+ struct config_s *config, char **url);
#endif