https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
Vivek Nadar changed:
What|Removed |Added
CC||vivek_na...@yahoo.co.in
--
You are rece
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #8 from Christopher Schultz ---
Messing-around with the ParameterMap might be considered a security issue.
Producing a writable clone makes sense, but I'm not convinced that a clone
method that ignored the "lock" status would follow
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #7 from kubak ---
Well, for me it would be very helpful, but I think it won't address the core of
this problem.
--
You are receiving this mail because:
You are the assignee for the bug.
---
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #6 from Remy Maucherat ---
It could be possible to override clone so that the cloned ParameterMap object
isn't locked. Would that be legitimate ?
--
You are receiving this mail because:
You are the assignee for the bug.
-
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #5 from kubak ---
Yes, I know.
May I ask here for an enhancement then and a new configuration parameter which
I could pass to a virtual machine, to keep my apps working on new Tomcat
versions?
--
You are receiving this mail becau
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
mgrigorov changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #3 from kubak ---
Well, of course copy constructor is better.
But don't focus on this line too much - it was just an example.
More important it in previous Tomcat version parameterMap was not locked and I
could change or add new par
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #2 from mgrigorov ---
Why don't you use normal copy constructors instead of cloning ?
Map myMap = new HashMap(originalMap)
This way you will not depend on implementation details.
--
You are receiving this mail because:
You are th
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
--- Comment #1 from kubak ---
I think the problem is in org.apache.catalina.core.ApplicationHttpRequest,
parseParameters() method.
line 726:
((ParameterMap) parameters).setLocked(true);
In my opinion parameters should not be locked here. This
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761
kubak changed:
What|Removed |Added
Hardware|PC |All
OS|Windows NT
10 matches
Mail list logo