aboutsummaryrefslogtreecommitdiffstats
path: root/includes/media/SVGMetadataExtractor.php
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2017-02-20 14:44:19 -0800
committerJforrester <jforrester@wikimedia.org>2017-02-21 18:13:24 +0000
commit9635dda73a556764ea6218670e8ae87775d5cd6d (patch)
tree815f8fedd78c10dae6273b8b8e320d977e6885d0 /includes/media/SVGMetadataExtractor.php
parentb715f432f420dece9feb56268ce2410a168d3312 (diff)
downloadmediawikicore-9635dda73a556764ea6218670e8ae87775d5cd6d.tar.gz
mediawikicore-9635dda73a556764ea6218670e8ae87775d5cd6d.zip
includes: Replace implicit Bugzilla bug numbers with Phab ones
It's unreasonable to expect newbies to know that "bug 12345" means "Task T14345" except where it doesn't, so let's just standardise on the real numbers. Change-Id: I6f59febaf8fc96e80f8cfc11f4356283f461142a
Diffstat (limited to 'includes/media/SVGMetadataExtractor.php')
-rw-r--r--includes/media/SVGMetadataExtractor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/media/SVGMetadataExtractor.php b/includes/media/SVGMetadataExtractor.php
index 6a974c782989..4087fb3d5b38 100644
--- a/includes/media/SVGMetadataExtractor.php
+++ b/includes/media/SVGMetadataExtractor.php
@@ -86,13 +86,13 @@ class SVGReader {
}
// Expand entities, since Adobe Illustrator uses them for xmlns
- // attributes (bug 31719). Note that libxml2 has some protection
+ // attributes (T33719). Note that libxml2 has some protection
// against large recursive entity expansions so this is not as
// insecure as it might appear to be. However, it is still extremely
// insecure. It's necessary to wrap any read() calls with
// libxml_disable_entity_loader() to avoid arbitrary local file
// inclusion, or even arbitrary code execution if the expect
- // extension is installed (bug 46859).
+ // extension is installed (T48859).
$oldDisable = libxml_disable_entity_loader( true );
$this->reader->setParserProperty( XMLReader::SUBST_ENTITIES, true );