Changeset 15069 for branches/rel
- Timestamp:
- 2007/07/18 21:25:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel/html/frontparts/login_check.php
r15053 r15069 84 84 $check_url = trim($_POST['url']); 85 85 86 // ¥É¥á¥¤¥ó¥Á¥§¥Ã¥¯ 86 print($check_url); 87 exit; 88 89 // ¥í¡¼¥«¥ë¥Á¥§¥Ã¥¯ 87 90 $pattern = "|^$site_url|"; 88 91 if (!preg_match($pattern, $check_url)) { 89 92 return false; 90 93 } 91 94 92 95 // ²þ¹Ô¥³¡¼¥É(CR¡¦LF)¡¦NULL¥Ð¥¤¥È¥Á¥§¥Ã¥¯ 93 96 $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) { 95 98 return false; 96 99 }
Note: See TracChangeset
for help on using the changeset viewer.