From f4df719502527597f6340be8016fd4b649cc1967 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 27 Jun 2003 17:48:20 +0000 Subject: - Reworked the CXX checking; now, _any_ user input will be checked and the request will be terminated when something suspicious is detected. This will be logged in the watchdog. With help from Marco. - Fixed translation issue in the archive module. Patch by Gerhard. - Removed dead parameter from variable_get(). Patch by Chris Johnson. Fixes bug #2111. - Improved input checking of taxonomy module. Patch by Gerhard. Fixes bug #2112. --- modules/node/node.module | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index aad95c00f..ccdd264ba 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -499,11 +499,6 @@ function node_comment_mode($nid) { } function node_filter($text) { - $text = preg_replace("/\Wstyle\s*=[^>]+?>/i", ">", $text); - $text = preg_replace("/\Won[a-z]+\s*=[^>]+?>/i", ">", $text); - $text = preg_replace("/\Wsrc\s*=[\s'\"]*javascript[^>]+?>/i", ">", $text); - $text = preg_replace("/\Whref\s*=[\s'\"]*javascript:[^>]+?>/i", ">", $text); - if (variable_get("filter_html", 0)) { $text = node_filter_html($text); } -- cgit v1.2.3