forbidden url feature

"M.T. Roebuck" <[email protected]> Tue, 19 Aug 2014 11:42:30 -0700
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
This feature of polipo to add urls to /etc/polipo/forbidden and then do
"something" when a user visits a matching url isn't working here on
polipo 1.1.1

cat /etc/polipo/forbidden
/foresee.*

grep forbid /etc/polipo/config
forbiddenUrl = http://www.eol.org
forbiddenRedirectCode = 301

Browse to example.com/foresee
This gets logged*:
Forbidden URL http://example.com/foresee

But the browser just hangs waiting on example.com.

Do I misunderstand this feature?


* I added do_log to polipo to get the forbidden url to print by adding
this to forbidden.c

 if(forbidden) {
        message = internAtomF("Forbidden URL %s", url->string);
        do_log(L_ERROR, "Forbidden URL %s\n", url->string);

------------------------------------------------------------------------------