Bug #8836: Fix attribute name
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 1 Jul 2010 19:50:00 +0000 (13:50 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 1 Jul 2010 20:03:19 +0000 (14:03 -0600)
framework/Text_Filter/lib/Horde/Text/Filter/Xss.php

index f9bfcc9..4be5929 100644 (file)
@@ -308,10 +308,10 @@ class Horde_Text_Filter_Xss extends Horde_Text_Filter_Base
             if (preg_match('/<head[^>]*>/si', $text, $matches, PREG_OFFSET_CAPTURE)) {
                 $end = $matches[0][1] + strlen($matches[0][0]);
                 $text = substr($text, 0, $end) .
-                    '<meta http-equiv="x-dns-prefetch-control" value="off" />' .
+                    '<meta http-equiv="x-dns-prefetch-control" content="off" />' .
                     substr($text, $end);
             } else {
-                $text = '<meta http-equiv="x-dns-prefetch-control" value="off" />' . $text;
+                $text = '<meta http-equiv="x-dns-prefetch-control" content="off" />' . $text;
             }
         }