mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 08:40:21 -07:00
<layer> != <link>
This commit is contained in:
parent
cd6ec44aba
commit
94f372a196
@ -1277,7 +1277,7 @@ function xss_clean($data) {
|
||||
do {
|
||||
// Remove really unwanted tags
|
||||
$old_data = $data;
|
||||
$data = preg_replace('#<(/*(?:applet|b(?:ase|gsound)|embed|frame(?:set)?|i(?:frame|layer)|link|meta|object|script|title|xml)[^>]*+)>#i', '<$1>', $data);
|
||||
$data = preg_replace('#<(/*(?:applet|b(?:ase|gsound)|embed|frame(?:set)?|i(?:frame|layer)|layer|meta|object|script|title|xml)[^>]*+)>#i', '<$1>', $data);
|
||||
} while ($old_data !== $data);
|
||||
|
||||
return $data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user