digitarald / digitarald-fancyupload

Swiff meets Ajax for powerful and elegant uploads (MooTools Plugin).
http://digitarald.de/project/fancyupload/
277 stars 105 forks source link

Response is truncated somethimes #11

Closed olvlvl closed 9 years ago

olvlvl commented 14 years ago

Hello,

For some mysterious reasons the JSON response is truncated sometimes :

"{"rc":{"element":"<div class=\"file-upload-element\"><var class=\"options\" style=\"display: none; font-size: .8em; font-family: monospace\">{\"path\":\"\/$wd\/wdpublisher\/protected\/modules\/resources.files\/public\/fancyupload\/Swiff.Uploader.swf\",\"fileSizeMax\":134217728}<\/var><div class=\"input\">

  • <span title=\"Path: \/repository\/$temp\/phpJnbS1X.jpg\">phpJnbS1X.jpg<\/span><\/li>
  • Image size: 1417×941px<\/li>
  • Display ratio: 3%<\/li>
  • 981.66 Kb<\/li><\/ul><div class=\"preview\"><a href=\"\/repository\/$temp\/phpJnbS1X.jpg&uniqid=4b20d50a77935\"

    And it's completely random. Sometime it works, sometimes it doesn't. I was wandering if there is a limit to the Flash response buffer, or if anyone has experienced this, because it happens a lot where I work and I can't figure out the reason.

    PS: It works perfectly on Windows, the problem seams to be with the flash player on OSX.

  • digitarald commented 14 years ago

    do you try to send HTML encoded in JSON?