>Number:         5155
>Category:       mod_jserv
>Synopsis:       getParameterValues() only returns one value (see 4207)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Oct 15 13:10:00 PDT 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.9 jserv 1.1b
>Environment:
RedHat 6.0 machine
>Description:
HttpServletRequest.getParameterValues() is supposed to return a String array of 
all values submitted for that key, but it only returns an array with one string 
in it, no matter how many values there are. We did not have this problem with 
the last 1.0 version of jserv we used but have had them in 1.1b1 and 1.1b2. See 
bug report 4207
>How-To-Repeat:
See http://d1.selectacast.com/servlet/SuperSnoop?bug=here&bug=there .   Under 
the heading Servlet parameters (Multiple Value style): there should be here and 
there, but there is only here. Also see http://bugs.apache.org/index/full/4207
>Fix:
I looked through the code and have not seen any obvious bug, perhaps when you 
call  queryParameters = HttpUtils.parseQueryString(getQueryString()); on line 
706 of JservConnection.java there is a bug in sun's code?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]



Reply via email to