Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #2771 and is a followup to r4832

  • Loading branch information...
commit 02f7836061f36bea972353571bd31fe4b15079f8 1 parent 7721a29
isaiah authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/libraries/Input.php
View
2  system/libraries/Input.php
@@ -465,7 +465,7 @@ protected function xss_filter_default($data)
{
// Remove really unwanted tags
$old_data = $data;
- $data = preg_replace('#</*[\x00-\x20]*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+>#i', '', $data);
+ $data = preg_replace('#<[\x00-\x20]*/*[\x00-\x20]*+(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|i(?:frame|layer)|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|title|xml)[^>]*+#i', '', $data);
}
while ($old_data !== $data);
Please sign in to comment.
Something went wrong with that request. Please try again.