gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/account login.php,1.11,1.12


From: tperdue
Subject: [Gforge-commits] gforge/www/account login.php,1.11,1.12
Date: Wed, 21 Apr 2004 16:49:22 -0500

Update of /cvsroot/gforge/gforge/www/account
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/account

Modified Files:
        login.php 
Log Message:
small fixes for errors on the new validation of return_to

Index: login.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/account/login.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- login.php   12 Apr 2004 17:49:18 -0000      1.11
+++ login.php   21 Apr 2004 21:49:19 -0000      1.12
@@ -24,7 +24,7 @@
 //
 if ($return_to) {
        $tmpreturn=explode('?',$return_to);
-       if (!is_file($sys_urlroot.$tmpreturn[0]) && 
!is_dir($sys_urlroot.$tmpreturn[0])) {
+       if (address@hidden($sys_urlroot.$tmpreturn[0]) && 
address@hidden($sys_urlroot.$tmpreturn[0]) && 
!(strpos($tmpreturn[0],'projects') == 1)) {
                $return_to='';
        }
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]