onokazu
onoka****@users*****
2005年 7月 31日 (日) 00:32:52 JST
Index: xoops2jp/html/modules/mydownloads/visit.php diff -u xoops2jp/html/modules/mydownloads/visit.php:1.2.10.1 xoops2jp/html/modules/mydownloads/visit.php:1.2.10.2 --- xoops2jp/html/modules/mydownloads/visit.php:1.2.10.1 Fri Jul 29 15:22:22 2005 +++ xoops2jp/html/modules/mydownloads/visit.php Sun Jul 31 00:32:52 2005 @@ -1,5 +1,5 @@ <?php -// $Id: visit.php,v 1.2.10.1 2005/07/29 06:22:22 onokazu Exp $ +// $Id: visit.php,v 1.2.10.2 2005/07/30 15:32:52 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -55,10 +55,10 @@ header('Location: '.XOOPS_URL.'/'); exit(); } -$url = htmlspecialchars(preg_replace( '/javascript:/si' , 'java script:', $url ), ENT_QUOTES); if (!preg_match("/^ed2k*:\/\//i", $url)) { Header("Location: $url"); } +$url = htmlspecialchars(preg_replace( '/javascript:/si' , 'java script:', $url ), ENT_QUOTES); echo "<html><head><meta http-equiv=\"Refresh\" content=\"0; URL=".$url."\"></meta></head><body></body></html>"; exit(); ?>