bkahlert commented on issue #232: Fix handling of query parameters with no 
value, like `?foo`
URL: https://github.com/apache/tomcat/pull/232#issuecomment-573089178
 
 
   I think `?foo&foo=1&foo` leading to `{null, "1", null}` is totall valid and 
imho the expected behaviour.
   Asking for a parameter's value `getParameter(String)` should return its 
value.
   Doing so for a Parameter, that was not provided has no defined behavior to 
my mind.
   Therefor I advocate a `isParameter(String)` or similar method that checks, 
if a parameter was provided at all.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to