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.