- Timestamp:
- 09/12/07 21:10:37 (15 months ago)
- Files:
-
- 1 modified
-
trunk/common/mvblog_common.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/mvblog_common.php
r601 r619 338 338 $allowed .= preg_quote("(){}"); 339 339 /* create preg_replace string of characters we allow */ 340 if (array_key_exists("bbcode", $options )) { $allowed .= preg_quote(" []&@=+:/.?;", "/"); }340 if (array_key_exists("bbcode", $options )) { $allowed .= preg_quote("![]&@=+:/.?;,'\\\"", "/"); } 341 341 if (array_key_exists("space", $options )) { $allowed .= "\s"; } 342 342 if (array_key_exists("url", $options )) { $allowed .= preg_quote("+:/.?", "/"); } … … 344 344 345 345 $allowed = "/[^$allowed]/s"; 346 347 346 if (is_array($data)) { 348 347 /* lets handle the array */
