#6713 closed defect (bug) (fixed)
swfupload: server response is truncated in some Flash versions
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5.1 | Priority: | normal |
| Severity: | normal | Version: | 2.5 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
There is a bug in either swfupload or Flash itself that sometimes causes the server response from a file upload to be truncated in Linux and Mac OS:
It appears only to happen on certain servers. I've been able to reproduce this using my MacBook - it fails on some WP installs but not others. I haven't been able to determine the cause (nor have the swfupload developers it appears) but I suspect it's a bug in the Flash Player's TCP/IP code.
The enclosed patch works around the problem by greatly reducing the size of the server response to a Flash file upload. Instead of returning a big chunk o html on success it returns the ID of the uploaded file. The html detail form for the file is then fetched in a second ajax request.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [7682]) Workaround response truncation by reducing size of response after uploading with flash uploader. Props tellyworth. fixes #6713