From 4770099d9919013586b0d94ab5defe13f113dd24 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 4 May 2008 17:52:56 +0000 Subject: [PATCH] Adjust parse_http_url() call to new prototype. --- filters.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/filters.c b/filters.c index 4a959751..b7a1ff85 100644 --- a/filters.c +++ b/filters.c @@ -1,4 +1,4 @@ -const char filters_rcs[] = "$Id: filters.c,v 1.105 2008/03/28 15:13:39 fabiankeil Exp $"; +const char filters_rcs[] = "$Id: filters.c,v 1.106 2008/05/03 16:40:44 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/filters.c,v $ @@ -40,6 +40,12 @@ const char filters_rcs[] = "$Id: filters.c,v 1.105 2008/03/28 15:13:39 fabiankei * * Revisions : * $Log: filters.c,v $ + * Revision 1.106 2008/05/03 16:40:44 fabiankeil + * Change content_filters_enabled()'s parameter from + * csp->action to action so it can be also used in the + * CGI code. Don't bother checking if there are filters + * loaded, as that's somewhat besides the point. + * * Revision 1.105 2008/03/28 15:13:39 fabiankeil * Remove inspect-jpegs action. * @@ -1735,7 +1741,7 @@ int is_untrusted_url(const struct client_state *csp) /* * If not, do we maybe trust its referrer? */ - err = parse_http_url(referer, rhttp, csp); + err = parse_http_url(referer, rhttp, REQUIRE_PROTOCOL); if (err) { return 1; -- 2.39.2