Last modified: 2010-09-10 13:26:37 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 T27045, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25045 - Inability to determine MIME type results in invalid data URL
Inability to determine MIME type results in invalid data URL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-04 09:08 UTC by Trevor Parscal
Modified: 2010-09-10 13:26 UTC (History)
3 users (show)

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


Attachments

Description Trevor Parscal 2010-09-04 09:08:33 UTC
Per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72349#c8904 and below, the resource loader outputs invalid CSS when it fails to determine the MIME type of the file it's embedding, resulting in CSS like url(data:;base64,....) , which is invalid and causes problems.

When the MIME type cannot be determined, we could try to guess based on the extension but we probably really should not embed the file at all.
Comment 1 Raimond Spekking 2010-09-10 13:26:37 UTC
Seems fixed with r72684. Thanks.

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


Navigation
Links