WordPress.org

Make WordPress Core

Ticket #8942: 8942.patch

File 8942.patch, 998 bytes (added by hakre, 6 years ago)

Patch for unconfirmed behaviour but propper worken as intended with compression.

  • wp-includes/functions.php

     
    24082408<body id="error-page"> 
    24092409<?php endif; ?> 
    24102410        <?php echo $message; ?> 
    2411         <?php if ( strlen($message) < 512) echo str_repeat(' ', 512-strlen($message)); ?> 
    24122411</body> 
     2412<!-- MSDN KB294807 compression resistent char squence following: abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz11223344556677889900abacbcbdcdcededfefegfgfhghgihihjijikjkjlklkmlmlnmnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono --> 
    24132413</html> 
    24142414<?php 
    24152415        die();