fix a typo in a label, and i18n another label in the HttpProxy parser

This commit is contained in:
Colin Kuskie 2006-11-17 06:49:29 +00:00
parent 9f679b1c03
commit bea5572788
2 changed files with 9 additions and 2 deletions

View file

@ -79,7 +79,8 @@ sub filter {
my $self=shift;
$self->parse($self->{Content}); # Make paths absolute and let them return to us
$self->eof;
return "<p>Error: HttpProxy can't recursively proxy its own content.</p>" if ($self->{recurseCheck});
my $i18n = WebGUI::International->new($self->session, 'Asset_HttpProxy');
return $i18n->get('no recursion') if ($self->{recurseCheck});
return $self->{Filtered};
}