[Tickets #10654] Re: Can't autosubmit to a ticket from Horde
bugs at horde.org
bugs at horde.org
Fri Jun 1 11:08:57 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10654
------------------------------------------------------------------------------
Ticket | 10654
Updated By | simon at simonandkate.net
Summary | Can't autosubmit to a ticket from Horde
Queue | Whups
Version | 2.0-RC1
Type | Bug
State | No Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
simon at simonandkate.net (2012-06-01 11:08) wrote:
And this is the function in problem.php that results in the fatal
error for the redirect:
function _returnToPage()
{
$url = new Horde_Url(Horde_Util::getFormData('return_url',
Horde::url('login.php', true, array('app' => 'horde'))));
$url->redirect();
}
That seems to call this public function in Url.php:
public function redirect()
{
$url = strval($this->setRaw(true));
if (!strlen($url)) {
throw new Horde_Url_Exception('Redirect failed: URL is empty.');
}
header('Location: ' . $url);
exit;
}
More information about the bugs
mailing list