fixed a couple of typos

This commit is contained in:
JT Smith 2003-09-29 18:30:19 +00:00
parent d1fe30f9d2
commit 346ebe6367
2 changed files with 2 additions and 2 deletions

View file

@ -182,8 +182,8 @@ sub www_view {
#if ($_[0]->get("followExternal")==0 && $proxiedUrl !~ /\Q$allowed_url/i) {
if ($_[0]->get("followExternal")==0 &&
$var{header} = "text/html";
(URI->new($_[0]->get('proxiedUrl'))->host) ne (URI->new($proxiedUrl)->host) ) {
$var{header} = "text/html";
return "<h1>You are not allowed to leave ".$_[0]->get("proxiedUrl")."</h1>";
}