Skip Menu |

This queue is for tickets about the HTTP-Proxy CPAN distribution.

Report information
The Basics
Id: 25295
Status: resolved
Priority: 0/
Queue: HTTP-Proxy

People
Owner: Nobody in particular
Requestors: tokuhirom+cpan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.21



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
On Tue Mar 06 01:25:40 2007, TOKUHIROM wrote: Show quoted text
> 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
Thanks, applied. The fix was shipped with version 0.21