Incompatible Content-Disposition header
ebababi - April 7, 2009 - 11:33
| Project: | SWX |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | Content-Disposition |
Description
The SWX PHP 1.01 server by default serves the resulting content as an attachment; this is an incompatible method for the newer flash versions, which require the content to be served as inline.
For more information please refer to: http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_chan...
A quick hack would be to replace in SwxAssembler.php the following line:
538: header('Content-Disposition: attachment; filename="data.swf"');
with:
538: header('Content-Disposition: inline; filename="data.swf"');
