Changeset 15048


Ignore:
Timestamp:
2007/07/17 15:21:32 (13 years ago)
Author:
adati
Message:

ドメインチェックを一時削除

File:
1 edited

Legend:

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

    r15039 r15048  
    7979} 
    8080 
    81 /* POST¤µ¤ì¤ëURL¤¬¼«¥É¥á¥¤¥ó¤Î¤â¤Î¤«¥Á¥§¥Ã¥¯*/ 
     81/* POST¤µ¤ì¤ëURL¤Î¥Á¥§¥Ã¥¯*/ 
    8282function lfIsValidURL() { 
    83     $site_url  = sfIsHTTPS() ? SSL_URL : SITE_URL; 
     83    //$site_url  = sfIsHTTPS() ? SSL_URL : SITE_URL; 
    8484    $check_url = trim($_POST['url']); 
    8585     
    8686    // ¥É¥á¥¤¥ó¥Á¥§¥Ã¥¯ 
    87     $pattern = "|^$site_url|"; 
    88     if (!preg_match($pattern, $check_url)) { 
    89         return false; 
    90     } 
     87    //$pattern = "|^$site_url|"; 
     88    //if (!preg_match($pattern, $check_url)) { 
     89    //    return false; 
     90    //} 
    9191 
    92     // CRLF¥Á¥§¥Ã¥¯ 
     92    // ²þ¹Ô¥³¡¼¥É(CR¡¦LF)¥Á¥§¥Ã¥¯ 
    9393    $pattern = '/\r|\n|%0D|%0A/'; 
    9494    if (preg_match_all($pattern, $check_url, $matches)) { 
Note: See TracChangeset for help on using the changeset viewer.