Use grab package software fiddler solve discuz image upload browser compatibility issues

Source: Internet
Author: User
Use grab package software fiddler solve discuz image upload browser compatibility issues

The situation before discuz in each browser discuz upload pictures are successful, suddenly one day pictures in IE can not upload correctly, the picture is uploaded by Flash plugin upload, reported 404 error.

It can be submitted correctly in Chrome browser or 360 speed. At first the suspicion is the problem of submitting the handler, and cannot be confirmed by interrupting the print debugging. Chrome's case succeeds every time, eliminating the problem of high server load concurrency. Suddenly think of different browser sent header information is not the same, will not have a relationship with this.

The packet was grabbed by two times, compared to the request packet.

Found User-agent is not the same, and IE under user-agent for Shockwave Flash, and in Chrome user-agent for normal access to the value of the Web page. I think this is not the problem, and then I use user-agent for Shockwave Flash to visit the home page, to solve the unexpected, but also return 404 error.

This makes it clear that Shockwave Flash is masked on the server side or in the program. I first looked at the server configuration file, and sure enough to block the flash and some of the less commonly used robot user-agent. Remove the blocking keyword and then restart the service issue to be resolved.

This is a record of how to deal with similar problems. First, the problem of stability is discharged, then the problem of the program, through the simulation request to know is user-agent for Shockwave Flash, and then from the system to query the masking record.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.