wp-admin/load-scripts.php generates bad content in only 3.0 and 3.01
|Reported by:||enseitankado||Owned by:|
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 fixed.
My configurations are:
-PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37)
-Apache Server version: Apache/2.2.3 Server built: Apr 4 2010 17:19:54