tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38113] getQueryString returns null instead of empty-string
Date Thu, 12 Aug 2010 13:01:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=38113

a.in.the.k@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #6 from a.in.the.k@gmail.com 2010-08-12 09:01:46 EDT ---
Please read specifications:

5.2.1.  Pre-parse the Base URI

other components may be empty or undefined....  

A component is undefined if its associated delimiter does  not appear 
in the URI reference; the path component is never undefined, though it may be
empty.
--------------------------------------------------------------
So for query we have two values null and "".

Please fix this because Tomcat is the only tested container (even 6.28) which
is not capable to tell difference between /aaa? and /aaa.
(WAS, WLS and many others correctly return "" and null) for suplied data.

If you so afraid about old ignorant existing apps, please implement as switch.

-- 
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


Mime
View raw message