Changeset 15071


Ignore:
Timestamp:
2007/07/18 21:40:46 (13 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel/html/frontparts/login_check.php

    r15070 r15071  
    8484    $check_url = trim($_POST['url']); 
    8585 
    86     // ¥í¡¼¥«¥ë¥Á¥§¥Ã¥¯ 
    87     $pattern = "|^$site_url|"; 
    88     if (!preg_match($pattern, $check_url)) { 
     86    // ¥í¡¼¥«¥ë¥É¥á¥¤¥ó¥Á¥§¥Ã¥¯ 
     87    if (!preg_match("|^$site_url|", $check_url) && !preg_match("|^/|", $check_url)) { 
    8988        return false; 
    9089    } 
Note: See TracChangeset for help on using the changeset viewer.