[wp-trac] [WordPress Trac] #14474: wp-admin/load-scripts.php generates bad content in only 3.0 and 3.01

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 30 17:42:43 UTC 2010

#14474: wp-admin/load-scripts.php generates bad content in only 3.0 and 3.01
 Reporter:  enseitankado  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.0            
 Severity:  normal        |    Keywords:  gzdeflate      
 With my configuration below when I try to edit any post via "''/wp-
 admin/post.php?post=xxx&action=edit''" the page not responding in v3 and
 v301. I inspect the http traffic with wireshark then detect a bug (i think
 that its a PHP bug) in '''gzdeflate''' function.

 Source of problem is gzdeflate function in '''load-scripts.php''' at
 '''line 134'''. I think that it outputs bad data to browser causing the
 browser waits forever...

 '''At line 134''', If I select a different compression level diffent from
 3 then problem solves.

 Also, load-scripts.php script reads four js file into variable named $out
 then compress it and output to browser. Scripts are below:


 If I change the content of any one of the js files above then problem

 '''My configurations are''':[[BR]]
 -WordPress 3.01[[BR]]
 -PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)[[BR]]
 -Apache Server version: Apache/2.2.3 Server built: Apr 4 2010

Ticket URL: <http://core.trac.wordpress.org/ticket/14474>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list