[wp-trac] [WordPress Trac] #26256: SVG images get width and height attributes with values 1

WordPress Trac noreply at wordpress.org
Thu Nov 28 09:12:09 UTC 2013


#26256: SVG images get width and height attributes with values 1
--------------------------+------------------------------
 Reporter:  lippe         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 Replying to [comment:1 lippe]:
 > Since the SVG:s don't seem likely to be supported by Core anytime soon,
 some fix specifically for SVG seems unnecessary.
 >
 > Allowing for some filtering of the width and height attributes maybe
 would be a more general possible solution.

 They'll never be supported for security reasons, as far as I can see.
 Making it so, if you have unfiltered uploads, things work OK is a good
 idea.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26256#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list