Re: Question about HttpServletRequest.getParameterValues()

2004-03-02 Thread Jan Luehe
Remy Maucherat wrote: Jan Luehe wrote: This is a bug. The String[] returned by req.getParameterValues() should have been a clone. I just committed a fix. I'd like to point out that this "bug" is not worth any performance drop. You should move those clones to the case where there's a security ma

Re: Question about HttpServletRequest.getParameterValues()

2004-03-02 Thread Remy Maucherat
Jan Luehe wrote: This is a bug. The String[] returned by req.getParameterValues() should have been a clone. I just committed a fix. I'd like to point out that this "bug" is not worth any performance drop. You should move those clones to the case where there's a security manager. Rémy ---

Re: Question about HttpServletRequest.getParameterValues()

2004-03-01 Thread Jan Luehe
Hi Christian, The 2.3 HttpServletRequest interface provides a setAttribute() method to change the values of a given attribute. It does NOT however provide a similar setParameter() method, allowing you to programatically modify the values that accompany the request - I assume this means that we sho

Question about HttpServletRequest.getParameterValues()

2004-03-01 Thread Christian Cryder
Hey folks, I've just noticed something interesting... The 2.3 HttpServletRequest interface provides a setAttribute() method to change the values of a given attribute. It does NOT however provide a similar setParameter() method, allowing you to programatically modify the values that accompany the r