Subject: | document bug in HTTP/Proxy.pm |
example code is not working.
--- Proxy.pm.org 2007-03-06 15:22:44.727552827 +0900
+++ Proxy.pm 2007-03-06 15:23:06.937155066 +0900
@@ -857,7 +857,7 @@
mime => 'text/html',
response => HTTP::Proxy::BodyFilter::tags->new(),
response =>
- HTTP::Proxy::BodyFilter::simple->new( sub { s!(</?)i>!$1b>!
ig } )
+ HTTP::Proxy::BodyFilter::simple->new( sub { ${ $_[1] } =~ s!
(</?)i>!$1b>!ig } )
);
For more details regarding the creation of new filters, check the