numerous fixes
This commit is contained in:
parent
45650303af
commit
87d2b64593
3 changed files with 19 additions and 21 deletions
|
|
@ -150,8 +150,8 @@ sub www_view {
|
|||
if ($session{var}{adminOn}) {
|
||||
return $self->getContainer->www_view;
|
||||
}
|
||||
WebGUI::HTTP::setRedirect($self->get("redirectUrl"));
|
||||
return undef;
|
||||
WebGUI::HTTP::setRedirect($self->get("redirectUrl")) unless $self->newByUrl($self->get("redirectUrl"))->getUrl eq $self->getUrl;
|
||||
return "Redirect is self-referential";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue