IE cannot display 403 pages properly

 

 

The size of the 403 page is too small, and the IE display is incorrect. The 403 page returned by the server is replaced with the page that comes with IE.

 

Solution Add the following comment to the 403 page

 

 

<!-- Ticket #11289, IE bug fix: always pad the error page with enough characters

such that it is greater than 512 bytes, even after gzip compression

abcdefghijklmnopqrstuvwxyz1234567890aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuu

vvwwxxyyzz11223344556677889900abacbcbdcdcededfegfgfhghgihjijikjkjlklkmlmln

mnmononpopoqpqprqrqsrsrtstsubcbcdcdedefefgfabcadefbghicjkldmnoepqrfstugvwxhyz

1i234j567k890laabmbccnddeoeffpgghqhiirjjksklltmmnunoovppqwqrrxsstytuuzvvw0wxx

1yyz2z113223434455666777889890091abc2def3ghi4jkl5mno6pqr7stu8vwx9yz11aab2bcc3

dd4ee5ff6gg7hh8ii9j0jk1kl2lmm3nnoo4p5pq6qrr7ss8tt9uuvv0wwx1x2yyzz13aba4cbcb5

dcdc6dedfef8egf9gfh0ghg1ihi2hji3jik4jkj5lkl6kml7mln8mnm9ono -->

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326994767&siteId=291194637