Ticket #6524: 6524.2.patch

File 6524.2.patch, 0.6 kB (added by azaozz, 8 months ago)

OK, removing content-length

  • tiny_mce_config.php

    old new  
    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?>