Make WordPress Core

Ticket #6524: 6524.2.patch

File 6524.2.patch, 588 bytes (added by azaozz, 18 years ago)

OK, removing content-length

  • tiny_mce_config.php

     
    256256        if ( '.gz' == $cache_ext )
    257257                header( 'Content-Encoding: gzip' );
    258258
    259         header( 'Content-Length: ' . strlen($content) );
    260 
    261259        echo $content;
    262260        exit;
    263261}
     
    301299}
    302300
    303301// Stream to client
    304 header( 'Content-Length: ' . strlen($content) );
    305302echo $content;
    306303
    307304// Write file
     
    326323        putFileContents( $cache_file, $content );
    327324}
    328325
    329 ?>
     326?>
     327 No newline at end of file