auxone
10-27-2009, 09:52 PM
Hi,
I've been reading about Apache 2 Filters, whereby data coming into the server can be processed as it is received. It is my understanding that one can force a process like de-chunking by adding the appropriate filter in as SetInputFilter directive.
I know that Apache 2 can already handle decoding chunked requests, and that it can handle multipart/form-data as well, but I've seen that it won't decode both at once. All I want to do is force chunked decoding AND multipart/form-data decoding in a single request.
Wouldn't be as simple as an .htaccess file with something like:
SetInputFilter CHUNKED_DECODE; MIME_DECODE
I need to know the real filter names, but I've been unable to find any clear resource regarding this, they are mostly on writing your own filters. I've seen mostly references to mod_upload filter. Thank in advance for any assistance.
I've been reading about Apache 2 Filters, whereby data coming into the server can be processed as it is received. It is my understanding that one can force a process like de-chunking by adding the appropriate filter in as SetInputFilter directive.
I know that Apache 2 can already handle decoding chunked requests, and that it can handle multipart/form-data as well, but I've seen that it won't decode both at once. All I want to do is force chunked decoding AND multipart/form-data decoding in a single request.
Wouldn't be as simple as an .htaccess file with something like:
SetInputFilter CHUNKED_DECODE; MIME_DECODE
I need to know the real filter names, but I've been unable to find any clear resource regarding this, they are mostly on writing your own filters. I've seen mostly references to mod_upload filter. Thank in advance for any assistance.