[Fwd: [heads-up] Updated upload system and fixed a bunch of securityissues]

2003-04-04 Thread Stefano Mazzocchi
Let's see if this time gets thru. -- Stefano. ---BeginMessage--- First of all, the servlet api decided not to deal with the payload of the servlet request in case of file-upload. So, either you parse the inputstream yourself, or you wrap the request with something different. Cocoon uses the

Re: [Fwd: [heads-up] Updated upload system and fixed a bunch of securityissues]

2003-04-04 Thread Stefano Mazzocchi
Stefano Mazzocchi wrote: Let's see if this time gets thru. no :-( stupid mozilla saved it trunkated in my sent folder as well. ok, I'll rewrite it :- -- Stefano.

Re: [Fwd: [heads-up] Updated upload system and fixed a bunch of securityissues]

2003-04-04 Thread Sylvain Wallez
Stefano Mazzocchi wrote: snip/ Note that the Cocoon Environment Request object transparently wraps around the Object get(String name) method, so, you don't have to do any type casting since this is transparently done for you. The only difference is that since the Cocoon Environment doesn't

Re: [Fwd: [heads-up] Updated upload system and fixed a bunch of securityissues]

2003-04-04 Thread Stefano Mazzocchi
Sylvain Wallez wrote: Stefano Mazzocchi wrote: snip/ Note that the Cocoon Environment Request object transparently wraps around the Object get(String name) method, so, you don't have to do any type casting since this is transparently done for you. The only difference is that since the Cocoon

Re: [Fwd: [heads-up] Updated upload system and fixed a bunch of securityissues]

2003-04-04 Thread Sylvain Wallez
Stefano Mazzocchi wrote: Sylvain Wallez wrote: What's the real contract behind Object get(String) ? The method name isn't very meaninful and the JavaDoc is confusing, as it is identical to the one for getAttribute(), although the implementation is obviously different. Furthermore, is get()