projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
627ea1d
)
In get_last_url(), do not claim to look for unencoded redirects when we aren't
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:56:21 +0000
(12:56 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 12 Nov 2011 12:56:21 +0000
(12:56 +0000)
filters.c
patch
|
blob
|
history
diff --git
a/filters.c
b/filters.c
index
7b5d0c2
..
df89372
100644
(file)
--- a/
filters.c
+++ b/
filters.c
@@
-1,4
+1,4
@@
-const char filters_rcs[] = "$Id: filters.c,v 1.15
8 2011/11/06 11:50:15
fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.15
9 2011/11/06 11:52:36
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/filters.c,v $
@@
-1171,11
+1171,12
@@
char *get_last_url(char *subject, const char *redirect_mode)
}
subject = url_segment;
}
}
subject = url_segment;
}
-
- /* Else, just look for a URL inside this one, without decoding anything. */
-
- log_error(LOG_LEVEL_REDIRECTS,
- "Checking \"%s\" for unencoded redirects.", subject);
+ else
+ {
+ /* Look for a URL inside this one, without decoding anything. */
+ log_error(LOG_LEVEL_REDIRECTS,
+ "Checking \"%s\" for unencoded redirects.", subject);
+ }
/*
* Find the last URL encoded in the request
/*
* Find the last URL encoded in the request