[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2017-02-09 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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. ---

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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. -

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761 mgrigorov changed: What|Removed |Added Resolution|--- |WONTFIX Status|NEW

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-28 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-27 Thread bugzilla
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

[Bug 59761] "No modifications are allowed to a locked ParameterMap" - Tomcat 8.0.32 is not compatible with older versions

2016-06-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59761 kubak changed: What|Removed |Added Hardware|PC |All OS|Windows NT