fixed a few bugs
This commit is contained in:
parent
42e63ab588
commit
f05c5925d1
3 changed files with 8 additions and 10 deletions
|
|
@ -120,7 +120,7 @@ sub www_view {
|
|||
if ($session{var}{adminOn}) {
|
||||
return $self->getContainer->www_view;
|
||||
}
|
||||
WebGUI::HTTP::setRedirect(WebGUI::Macro::process($self->get("redirectUrl"))) unless $self->newByUrl($self->get("redirectUrl"))->getUrl eq $self->getUrl;
|
||||
WebGUI::HTTP::setRedirect(WebGUI::Macro::process($self->get("redirectUrl"))) unless $self->get("redirectUrl") eq $self->get("url");
|
||||
return "Redirect is self-referential";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue