Last modified: 2006-02-11 08:48:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5828, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3828 - MediaWiki shouldn't scale SVGs larger than say 2000px
MediaWiki shouldn't scale SVGs larger than say 2000px
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.6.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-29 20:45 UTC by David Benbennick
Modified: 2006-02-11 08:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description David Benbennick 2005-10-29 20:45:18 UTC
Currently, MediaWiki will produce a thumbnail of an SVG file up to the larger of
1024px or the "natural size" of the SVG.  This is sort of a security hole, since
SVG files can have arbitrarily large "natural size" without affecting the file
size at all.  See, for example,
[[Image:Map of Colorado counties, blank.svg]].

I propose there should be a maximum thumbnail size for SVG files; say 2000px or
so.  Wikimedia projects certainly never need images larger than this.  Then code
like [[Image:Foo.svg]] with no size specification would use the 2000px
thumbnail, instead of trying to make a gigantic thumbnail at the "natural size".
Comment 1 David Benbennick 2006-02-11 08:48:36 UTC
This issue has apparently been fixed.  Now MediaWiki doesn't scale SVG above
1024px regardless of the "natural size".

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links