From 91f8d1cfa59b145296b7b5dc4ee07bdb32517b8b Mon Sep 17 00:00:00 2001 From: oes Date: Tue, 2 Apr 2002 14:55:56 +0000 Subject: [PATCH] Bugfix: is_untrusted_url() now depends on FEATURE_TRUST, not FEATURE_COOKIE_JAR --- filters.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/filters.c b/filters.c index 6f16d847..cff05c4a 100644 --- a/filters.c +++ b/filters.c @@ -1,4 +1,4 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.52 2002/03/24 16:35:57 jongfoster Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.53 2002/03/26 22:29:54 swa Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.c,v $ @@ -38,6 +38,9 @@ const char filters_rcs[] = "$Id: filters.c,v 1.52 2002/03/24 16:35:57 jongfoster * * Revisions : * $Log: filters.c,v $ + * Revision 1.53 2002/03/26 22:29:54 swa + * we have a new homepage! + * * Revision 1.52 2002/03/24 16:35:57 jongfoster * Removing logo * @@ -1093,7 +1096,7 @@ int is_imageurl(struct client_state *csp) #endif /* def FEATURE_IMAGE_BLOCKING */ -#ifdef FEATURE_COOKIE_JAR +#ifdef FEATURE_TRUST /********************************************************************* * * Function : is_untrusted_url @@ -1147,15 +1150,10 @@ int is_untrusted_url(struct client_state *csp) return 1; } - /* - * If not, do we maybe trust its referrer? - */ - /* - * Parse the URL from the referrer + * If not, do we maybe trust its referrer? */ - err = parse_http_url(referer, rhttp, csp); if (err) { @@ -1217,7 +1215,7 @@ int is_untrusted_url(struct client_state *csp) } return 1; } -#endif /* def FEATURE_COOKIE_JAR */ +#endif /* def FEATURE_TRUST */ /********************************************************************* -- 2.39.2