Changeset 1619

Show
Ignore:
Timestamp:
12/12/2006 11:31:00 PM (2 years ago)
Author:
jeena
Message:

encoding url

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/auth.php

    r1292 r1619  
    66 
    77     if (!isset($_SESSION['logged_in']) || !$_SESSION['logged_in']) { 
    8       header('Location: http://'.$hostname.($path == '/' ? '' : $path).'/login.php?url='.$_SERVER["REQUEST_URI"]); 
     8      header('Location: http://'.$hostname.($path == '/' ? '' : $path).'/login.php?url='.urlencode($_SERVER["REQUEST_URI"])); 
    99      exit; 
    1010      }