(bug 20780) Fix in UploadBase::detectScript: should check for '<a href', not '<a...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 23 Sep 2009 14:13:42 +0000 (14:13 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 23 Sep 2009 14:13:42 +0000 (14:13 +0000)
includes/upload/UploadBase.php

index 4c96005..3a6b7e5 100644 (file)
@@ -678,7 +678,7 @@ abstract class UploadBase {
                * when served with a generic content-type.
                */
                $tags = array(
-                       '<a',
+                       '<a href',
                        '<body',
                        '<head',
                        '<html',   #also in safari