List:Eventum General Discussion« Previous MessageNext Message »
From:Harri Porten Date:November 16 2005 8:09pm
Subject:Re: Problem with ssh tunnel
View as plain text  
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']);

 }

 

Thread
Problem with ssh tunnelHarri Porten16 Nov
  • Re: Problem with ssh tunnelHarri Porten16 Nov
    • Re: Problem with ssh tunnelBryan Alsdorf23 Nov