--- lib/resourcelib.php.orig	2011-09-20 17:24:59.000000000 +0100
+++ lib/resourcelib.php	2011-09-20 17:25:17.000000000 +0100
@@ -492,11 +492,9 @@
     // in xhtml strict mode
     if ($mimetype === 'text/html' and check_browser_version('MSIE', 5)) {
         if (preg_match('(^https?://[^/]*)', $fullurl, $matches)) {
-            if (strpos($CFG->wwwroot, $matches[0]) !== 0) {
                 $iframe = true;
             }
         }
-    }
 
     if ($iframe) {
         $code = <<<EOT
