Skip to content

Commit

Permalink
make the filters non-case sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlawrence committed Aug 21, 2015
1 parent 221e3a5 commit f0514ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ function xss_clean($str)
$str = preg_replace('#<\s?/?\s*[Ss]\s*[cC]\s*[rR]\s*[iI]\s*[pP]\s*[tT]#', '', $str);

// Removed ;base64 data usage
$str = preg_replace('#data:*[^;]+;base64,#', 'nodatabase64', $str);
$str = preg_replace('#data:*[^;]+;base64,#i', 'nodatabase64', $str);

do {
// Remove really unwanted tags
Expand Down

0 comments on commit f0514ed

Please sign in to comment.