tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 38113] getQueryString returns null instead of empty-string
Date Thu, 12 Aug 2010 13:01:52 GMT changed:

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

--- Comment #6 from 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
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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message