WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#14474 closed defect (bug) (worksforme)

wp-admin/load-scripts.php generates bad content in only 3.0 and 3.01

Reported by: enseitankado Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: reporter-feedback
Focuses: Cc:

Description

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:

./public_html/wp-includes/js/jquery/jquery.js
./public_html/wp-admin/js/utils.js
./public_html/wp-includes/js/quicktags.js
./public_html/wp-admin/js/editor.js

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

My configurations are:
-WordPress 3.01
-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

Change History (2)

comment:1 nacin3 years ago

  • Keywords reporter-feedback added; gzdeflate removed

Any value other than 3, and also if any of the files change, then the problem goes away? This seems odd -- anything else you can provide us? (Only report of this.)

comment:2 westi3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

No feedback from reporter.

Closing as Works for Me.

Note: See TracTickets for help on using tickets.