diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/update_network.php | 2 | ||||
-rw-r--r-- | mod/update_profile.php | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mod/update_network.php b/mod/update_network.php index f9914abc2..36de0722a 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -26,6 +26,8 @@ function update_network_content(&$a) { $text = preg_replace($pattern, $replace, $text); $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i"; $text = preg_replace($pattern, $replace, $text); + $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i"; + $text = preg_replace($pattern, $replace, $text); echo str_replace("\t",' ',$text); diff --git a/mod/update_profile.php b/mod/update_profile.php index 40ee33325..c4884b30f 100644 --- a/mod/update_profile.php +++ b/mod/update_profile.php @@ -45,6 +45,8 @@ function update_profile_content(&$a) { $text = preg_replace($pattern, $replace, $text); $pattern = "/<\s*embed[^>]*>(.*?)<\s*\/\s*embed>/i"; $text = preg_replace($pattern, $replace, $text); + $pattern = "/<\s*iframe[^>]*>(.*?)<\s*\/\s*iframe>/i"; + $text = preg_replace($pattern, $replace, $text); /** * reportedly some versions of MSIE don't handle tabs in XMLHttpRequest documents very well |