From: henoheno Date: Sun, 4 Mar 2007 03:54:55 +0000 (+0900) Subject: TODO X-Git-Url: http://git.osdn.net/view?p=pukiwiki%2Fpukiwiki_sandbox.git;a=commitdiff_plain;h=40161a91397cf6c98ab2ff42d9a466b8b19b477c TODO --- diff --git a/spam.php b/spam.php index acef763..4170a87 100644 --- a/spam.php +++ b/spam.php @@ -1,8 +1,10 @@ = 4.3.0): preg_match_all(PREG_OFFSET_CAPTURE): $method['uri_XXX'] related feature if (! defined('SPAM_INI_FILE')) define('SPAM_INI_FILE', 'spam.ini.php'); @@ -337,6 +339,7 @@ function _preg_replace_callback_domain_exposure($matches = array()) // NOTE: It's maybe danger to var_dump(result). [e.g. 'javascript:'] // [OK] http://victim.example.org/go?http%3A%2F%2Fnasty.example.org // [OK] http://victim.example.org/http://nasty.example.org +// TODO: link.toolbot.com, urlx.org function spam_uri_pickup_preprocess($string = '') { if (! is_string($string)) return ''; @@ -364,8 +367,6 @@ function spam_uri_pickup_preprocess($string = '') '_preg_replace_callback_domain_exposure', $string ); - - // URI exposure (uriuri => uri uri) $string = preg_replace( diff --git a/spam/spam.php b/spam/spam.php index acef763..4170a87 100644 --- a/spam/spam.php +++ b/spam/spam.php @@ -1,8 +1,10 @@ = 4.3.0): preg_match_all(PREG_OFFSET_CAPTURE): $method['uri_XXX'] related feature if (! defined('SPAM_INI_FILE')) define('SPAM_INI_FILE', 'spam.ini.php'); @@ -337,6 +339,7 @@ function _preg_replace_callback_domain_exposure($matches = array()) // NOTE: It's maybe danger to var_dump(result). [e.g. 'javascript:'] // [OK] http://victim.example.org/go?http%3A%2F%2Fnasty.example.org // [OK] http://victim.example.org/http://nasty.example.org +// TODO: link.toolbot.com, urlx.org function spam_uri_pickup_preprocess($string = '') { if (! is_string($string)) return ''; @@ -364,8 +367,6 @@ function spam_uri_pickup_preprocess($string = '') '_preg_replace_callback_domain_exposure', $string ); - - // URI exposure (uriuri => uri uri) $string = preg_replace(