summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.c
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/reqs.c
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/reqs.c')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 0fc46b4..ead54ff 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -418,7 +418,7 @@ BAD_REQUEST_ERROR:
} else {
#ifdef TRANSPARENT_PROXY
if (!do_transparent_proxy
- (connptr, hashofheaders, request, &config, url)) {
+ (connptr, hashofheaders, request, &config, &url)) {
goto fail;
}
#else