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

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to corythearchitect from comment #3)
> The general use case is the servicing of a request in which the order of
> parameter evaluation is significant.
> 
> http://host/resource?country=CA&postalcode=N7T5R4
> 
> Let's assume this is in context of a general infrastructure that evaluates
> each parameter in the order received (field validation being just one
> example of potential triggers). postalcode validation is dependent on the
> value of country.

Isn't "postalcode validation is dependens on the value of country" part of your
business logic? If so, you should always be fetching the country first, then
the postalcode. Or are you building a system where the order of the parameters
in the request dictates the way validation is performed?

In any case, I am +1 for changing HashMap->LinkedHashMap to preserve parameter
ordering.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to