Graham Dumpleton
grahamd at dscpl.com.au
Fri Apr 21 05:39:01 EDT 2006
Whoops. On 21/04/2006, at 7:23 PM, Graham Dumpleton wrote: > A creative way of getting around the problem. I hadn't thought > of using a filter. Some suggested changes below. > > On 21/04/2006, at 6:12 PM, Alec Matusis wrote: > >> >> I figured out how to do this without changing mod_python source: >> >> I wrote a mod_python input filter: >> >> flashfilter.py: >> >> from mod_python import apache >> >> def inputfilter(filter): >> #this is a workaround flash 8 FileReference bug: Flash POST is >> not >> RFC-compliant as of Flash 8,0,22,0 > > > if 'flashfileref' in parse_args(filter.req.args): > filter.pass_on() > return Logic wrong way around. if 'flashfileref' not in parse_args(filter.req.args): filter.pass_on() return Graham
|