On Wed, 16 Nov 2005, Harri Porten wrote:
> Any chance that the "My Assignments" could be fixed not to refer to
> APP_HOSTNAME? Would make the use of Eventum much more flexible (and more
> secure).
Suggested patch is attached. Any (security) concerns with that one?
Harri.
--- list.php.org 2005-11-16 21:22:32.000000000 +0100
+++ list.php 2005-11-16 21:22:24.000000000 +0100
@@ -63,7 +63,7 @@
if (@$_REQUEST['view'] == 'my_assignments') {
$profile = Search_Profile::getProfile($usr_id, $prj_id, 'issue');
Search_Profile::remove($usr_id, $prj_id, 'issue');
- Auth::redirect(APP_BASE_URL . "list.php?users=$usr_id&hide_closed=1&rows=$rows&sort_by=" .
+ Auth::redirect(APP_RELATIVE_URL . "list.php?users=$usr_id&hide_closed=1&rows=$rows&sort_by=" .
$profile['sort_by'] . "&sort_order=" . $profile['sort_order']);
}