Ignore:
Timestamp:
2007/07/18 21:25:42 (17 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

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

    r15053 r15069  
    8484    $check_url = trim($_POST['url']); 
    8585     
    86     // ¥É¥á¥¤¥ó¥Á¥§¥Ã¥¯ 
     86    print($check_url); 
     87    exit; 
     88     
     89    // ¥í¡¼¥«¥ë¥Á¥§¥Ã¥¯ 
    8790    $pattern = "|^$site_url|"; 
    8891    if (!preg_match($pattern, $check_url)) { 
    8992        return false; 
    9093    } 
    91  
     94     
    9295    // ²þ¹Ô¥³¡¼¥É(CR¡¦LF)¡¦NULL¥Ð¥¤¥È¥Á¥§¥Ã¥¯ 
    9396    $pattern = '/\r|\n|\0|%0D|%0A|%00/'; 
    94     if (preg_match_all($pattern, $check_url, $matches)) { 
     97    if (preg_match_all($pattern, $check_url, $matches) > 0) { 
    9598        return false; 
    9699    } 
Note: See TracChangeset for help on using the changeset viewer.