X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=urlmatch.h;h=cbf864dee11537d95057c859fb6e9f45dcc37e81;hp=d7a7a41b6225cc2e5cbba2a94f3b4f35cb8a38c4;hb=fc95ee44008b1d623d5560e243e7f8becb380423;hpb=0428133610c525457cb16f7ac6a54203a2743d6c diff --git a/urlmatch.h b/urlmatch.h index d7a7a41b..cbf864de 100644 --- a/urlmatch.h +++ b/urlmatch.h @@ -1,6 +1,6 @@ #ifndef URLMATCH_H_INCLUDED #define URLMATCH_H_INCLUDED -#define URLMATCH_H_VERSION "$Id: urlmatch.h,v 1.16 2009/06/03 16:42:49 fabiankeil Exp $" +#define URLMATCH_H_VERSION "$Id: urlmatch.h,v 1.17 2011/09/04 11:10:56 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/urlmatch.h,v $ @@ -8,7 +8,7 @@ * Purpose : Declares functions to match URLs against URL * patterns. * - * Copyright : Written by and Copyright (C) 2001-2002, 2006 the SourceForge + * Copyright : Written by and Copyright (C) 2001-2002, 2006 the * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -50,6 +50,8 @@ extern jb_err parse_http_request(const char *req, struct http_request *http); extern jb_err parse_http_url(const char *url, struct http_request *http, int require_protocol); +extern int url_requires_percent_encoding(const char *url); + #define REQUIRE_PROTOCOL 1 extern int url_match(const struct url_spec *pattern,