[Tickets #476] NEW: problem.php return_url not passed

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Aug 12 05:31:10 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=476
-----------------------------------------------------------------------
 Ticket     | 476
 Created By | hordebugs at biuro.net.pl
 Summary    | problem.php return_url not passed
 Queue      | Horde Base
 Version    | HEAD
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


hordebugs at biuro.net.pl (2004-08-12 05:31) wrote:

services/problem.php used to report problem with a horde installation is
loosing the return_url value it gets passed from the reporting application,
and thus does not know where to redirect the user when the problem
submission is complete - the user is redirected to the main horde portal
page (the default).  quick-and-dirty fix:

--- horde/templates/problem/problem.inc.orig    2004-08-12
11:31:28.000000000 +0200
+++ horde/templates/problem/problem.inc 2004-08-12 13:02:12.000000000 +0200
@@ -22,6 +22,7 @@
 <form method="post" name="problem_report" action="problem.php">
 <?php Util::pformInput() ?>
 <input type="hidden" name="actionID" value="cancel_problem_report" />
+<?php $return_url=Util::getFormData('return_url'); ?>
 <?php if (isset($return_url)): ?><input type="hidden" name="return_url"
value="<?php echo htmlspecialchars($return_url) ?>" /><?php endif; ?>
 
 <table border="0" cellpadding="3" cellspacing="2" width="100%">





More information about the bugs mailing list