Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7456
end_metadata.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:25 PM
2014-11-21 23:25:15 (UTC+0)
Size
558 B
Referenced Files
None
Subscribers
None
end_metadata.patch
View Options
Index: media/SVGMetadataExtractor.php
===================================================================
--- media/SVGMetadataExtractor.php (revision 83254)
+++ media/SVGMetadataExtractor.php (working copy)
@@ -98,6 +98,7 @@
$this->readField( $tag, 'description' );
} elseif ( $this->qualifiedNameEquals( $tag, 'svg', 'metadata' ) && $type == XmlReader::ELEMENT ) {
$this->readXml( $tag, 'metadata' );
+ return;
} elseif ( $tag !== '#text' ) {
$this->debug( "Unhandled top-level XML tag $tag" );
$this->animateFilter( $tag );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6987
Default Alt Text
end_metadata.patch (558 B)
Attached To
Mode
T29508: SVGMetadataExtractor is taking too much memory/time on large svgs, rendering certain pages inaccessible
Attached
Detach File
Event Timeline
Log In to Comment