Fix the exitURL redirection when a survey is completed and the site uses a gateway url.
This commit is contained in:
parent
787fe74ee1
commit
b8b2a38ef5
3 changed files with 8 additions and 4 deletions
|
|
@ -997,9 +997,12 @@ sub surveyEnd {
|
|||
$url = "/";
|
||||
}
|
||||
}
|
||||
$url = $self->session->url->gateway($url);
|
||||
|
||||
# $self->session->http->setRedirect($url);
|
||||
return to_json( { "type", "forward", "url", $url } );
|
||||
#$self->session->http->setRedirect($url);
|
||||
#$self->session->http->setMimeType('application/json');
|
||||
my $json = to_json( { "type", "forward", "url", $url } );
|
||||
return $json;
|
||||
} ## end sub surveyEnd
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue