Apache-RewritingProxy
view release on metacpan or search on metacpan
RewritingProxy.pm view on Meta::CPAN
{
my $newLink = &fixLink($r,$tolkens->[2]{action},$url);
my $action = regexEscape($tolkens->[2]{action});
$text =~ s#$action#$newLink#;
}
$outString .= $text;
}
elsif ($tolkens->[1] =~ /^(td|body)$/i && $tolkens->[0] eq 'S')
{
$text = $tolkens->[4];
if ($tolkens->[2]{background})
{
my $newLink = &fixLink($r,$tolkens->[2]{background},$url);
$text =~ s#$tolkens->[2]{background}#$newLink#;
}
$outString .= $text;
}
elsif ($tolkens->[1] =~ /^script$/i
&& $tolkens->[0] eq 'S')
{
$text = $tolkens->[4];
if ($tolkens->[2]{src} && $tolkens->[0] eq 'S')
{
my $newLink = &fixLink($r,$tolkens->[2]{src},$url);
( run in 0.946 second using v1.01-cache-2.11-cpan-f56aa216473 )