You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/05/26 13:10:58 UTC

DO NOT REPLY [Bug 49342] New: Duplicate query string values

https://issues.apache.org/bugzilla/show_bug.cgi?id=49342

           Summary: Duplicate query string values
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jantonio.illescas@rbcdexia-is.es


With next URI http://server/path?param=value&param=value  the
HttpServletRequest.getParameterValues  return:

    * On tomcat-6.0.20 with jkd-1.5.0.22 return one single value
    * On tomcat-6.0.26 with jkd-1.5.0.22 return one single value
    * On tomcat-6.0.26 with jdk 1.6.0.20 return both, two same, values

¿This is a bug on tomcat 6.0.26 or on jdk-1.6.0.20?

   note: On weblogic-10 with jdk-1.5 and jdk-1.6 return, allways, a single
value

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49342] Duplicate query string values

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49342

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-05-28 07:15:21 EDT ---
6.0.26 on 1.6 and 1.5 JDKs reports two parameter values. Since the spec says
"all parameters" and provides no indication that duplicates require special
handling, I believe Tomcat is spec compliant.

I can't explain why you saw different behaviour. May be an issue with your test
case.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org