Page MenuHomePhabricator

Google chrome doesn't load inline images from CSS
Closed, ResolvedPublic

Description

Only error is: Failed to load resource

Version: 6.0.472.53 beta


Version: 1.16.x
Severity: enhancement
URL: http://translatewiki.net/sw/

Details

Reference
bz25048

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:11 PM
bzimport set Reference to bz25048.
bzimport added a subscriber: Unknown Object (MLST).

Culprit is the following line in CSSMin.php

// Strip off any trailing = symbols (makes browsers freak out)
$data = rtrim( base64_encode( file_get_contents( $file ) ), '=' );

Removing trimming fixes the problem.